@extends('backend.master') @section('content')
@if(count($buyer->documents)>0) @php $i=1 @endphp @foreach($buyer->documents as $document)
@php $file=explode('images',$document->file) @endphp

{{$i}} {{$file[1]}}

@if(stristr($file[1],'jpg')||stristr($file[1],'jpeg')||stristr($file[1],'png')) @else @endif
@php $i++; @endphp @endforeach @endif
@stop