{{$document->type->title}}

{{$document->number.' / '.date("d.m.Y",strtotime($document->date))}}


{{$document->doc_type==57 ? __('texte.documents_arr.print_return.supplier') : __('texte.documents_arr.print_return.driver')}} : {{$document->doc_type==57 ? ($document->documentable->company_name ?? $document->documentable->user->name) : $document->documentable->name}}
{{__('texte.documents_arr.print_return.storage')}} : {{$document->storage->name}}
@foreach($document->doc_rows as $index => $doc_row ) @endforeach
{{__('texte.documents_arr.print_return.number')}} {{__('texte.documents_arr.print_return.code')}} {{__('texte.documents_arr.print_return.product_name')}} {{__('texte.documents_arr.print_return.place')}} {{__('texte.documents_arr.print_return.pallet')}} {{__('texte.documents_arr.print_return.batch')}} {{__('texte.documents_arr.print_return.expiry')}} {{__('texte.documents_arr.print_return.measure')}} {{__('texte.documents_arr.print_return.quantity')}} {{__('texte.documents_arr.print_return.package')}} {{__('texte.documents_arr.print_return.counts')}}
{{$index+1}} {{$doc_row->product_id}} {{$doc_row->name}} {{$doc_row->place->address}} {{$doc_row->pallet}} {{$doc_row->batch}} {{$doc_row->expiring_date!= null ? date("d.m.Y",strtotime($doc_row->expiring_date)) : ''}} {{$doc_row->measure==1 ? __('texte.documents_arr.print_return.count') : $doc_row->product->package->name }} {{$doc_row->quantity}} {{$doc_row->package_quantity!=0 && $doc_row->product->is_wrappage==0 ? $doc_row->package_quantity : ''}} {{$doc_row->piece_quantity!=0 ? $doc_row->piece_quantity : ''}}