@if(count($purchaseInvoice->purchaseInvoiceAttachments) > 0)

{{trans('applang.attachments')}}

@foreach ($purchaseInvoice->purchaseInvoiceAttachments as $index => $file) @endforeach
# {{trans('applang.file_name')}} {{trans('applang.created_at')}} {{trans('applang.actions')}}
{{$index+1}} {{$file->attachments}} {{$file->created_at->format('d-m-Y')}}
@endif