@php $establishment = $document->establishment; $customer = $document->customer; //$path_style = app_path('CoreFacturalo'.DIRECTORY_SEPARATOR.'Templates'.DIRECTORY_SEPARATOR.'pdf'.DIRECTORY_SEPARATOR.'style.css'); $document_number = $document->series.'-'.str_pad($document->number, 8, '0', STR_PAD_LEFT); // $document_type_driver = App\Models\Tenant\Catalogs\IdentityDocumentType::findOrFail($document->driver->identity_document_type_id); $document_type_dispatcher = App\Models\Tenant\Catalogs\IdentityDocumentType::findOrFail($document->dispatcher->identity_document_type_id); @endphp
|
@else
{{--![]() |
@endif
{{ $company->name }}{{ ($establishment->address !== '-')? $establishment->address : '' }} {{ ($establishment->district_id !== '-')? ', '.$establishment->district->description : '' }} {{ ($establishment->province_id !== '-')? ', '.$establishment->province->description : '' }} {{ ($establishment->department_id !== '-')? '- '.$establishment->department->description : '' }}{{ ($establishment->email !== '-')? $establishment->email : '' }}{{ ($establishment->telephone !== '-')? $establishment->telephone : '' }} |
{{ 'RUC '.$company->number }}{{ $document->document_type->description }}N° {{ $document_number }} |
Fecha Inicio de Traslado: | {{ $document->date_of_shipping->format('Y-m-d') }} | |||
RUC: | {{ $customer->number }} | |||
Razón Social: | {{ $customer->name }} | |||
Dirección física: | {{ $customer->address }} {{ ($customer->district_id !== '-')? ', '.$customer->district->description : '' }} {{ ($customer->province_id !== '-')? ', '.$customer->province->description : '' }} {{ ($customer->department_id !== '-')? '- '.$customer->department->description : '' }} | |||
Punto Partida: | {{ $document->origin->location_id }} - {{ $document->origin->address }} | |||
Punto Llegada: | {{ $document->delivery->location_id }} - {{ $document->delivery->address }} | |||
|
Datos de transportista
|
Datos de transportista
|