@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); @endphp
{{--
|
@endif
{{ $company->name }}{{ 'RUC '.$company->number }}{{ ($establishment->address !== '-')? $establishment->address : '' }}{{ ($establishment->email !== '-')? $establishment->email : '' }}{{ ($establishment->telephone !== '-')? $establishment->telephone : '' }} |
{{ $document->document_type->description }}{{ $document_number }} |
DESTINATARIO |
---|
Razón Social: {{ $customer->name }} |
RUC: {{ $customer->number }} |
Dirección: {{ $customer->address }} |
Teléfono:{{ $customer->telephone }} |
Vendedor: {{ $document->user->name }} |
ENVIO | |
---|---|
Fecha Emisión: {{ $document->date_of_issue->format('Y-m-d') }} | Fecha Inicio de Traslado: {{ $document->date_of_shipping->format('Y-m-d') }} |
Motivo Traslado: {{ $document->transfer_reason_type->description }} | Modalidad de Transporte: {{ $document->transport_mode_type->description }} |
Peso Bruto Total({{ $document->unit_type_id }}): {{ $document->total_weight }} | Número de Bultos: {{ $document->packages_number }} |
P.Partida: {{ $document->origin->location_id }} - {{ $document->origin->address }} | P.Llegada: {{ $document->delivery->location_id }} - {{ $document->delivery->address }} |
TRANSPORTE | |
---|---|
Razón Social: {{ $document->dispatcher->name }} | RUC: {{ $document->dispatcher->number }} |
Número de placa del vehículo: {{ $document->license_plate }} | Conductor: {{ $document->driver->number }} |
Item | Código | Descripción | Unidad | Cantidad |
---|---|---|---|---|
{{ $loop->iteration }} | {{ $row->item->internal_id }} | {{ $row->item->description }} | {{ $row->item->unit_type_id }} | {{ $row->quantity }} |
OBSERVACIONES |
{{ $document->observations }} |