@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
{{----}}
{{-- --}}
{{-- --}}
{{-- | --}}
{{--@else--}}
{{----}}
{{-- | --}}
{{--@endif--}}
|
{{----}}
{{-- --}}
{{-- --}}
{{--{{ $company->name }}--}} {{--{{ 'RUC '.$company->number }}--}} {{--{{ ($establishment->address !== '-')? $establishment->address : '' }}--}} {{--{{ ($establishment->email !== '-')? $establishment->email : '' }}--}} {{--{{ ($establishment->telephone !== '-')? $establishment->telephone : '' }}--}} {{-- | --}}
{{ 'RUC '.$company->number }}{{ $document->document_type->description }}{{ $document_number }} |
DESTINATARIO | |
---|---|
Razón Social: {{ $customer->name }} | |
RUC: {{ $customer->number }} | |
Dirección: {{ $customer->address }}, {{ strtoupper($customer->department->description) }}-{{ strtoupper($customer->province->description) }}-{{ strtoupper($customer->district->description) }} | {{--Dirección: {{ $customer->address }} | --}}
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 }}, {{ \App\CoreFacturalo\Templates\FunctionLocation::getLocationName($document->origin->location_id) }} | |
P.Llegada: {{ $document->delivery->location_id }} - {{ $document->delivery->address }}, {{ \App\CoreFacturalo\Templates\FunctionLocation::getLocationName($document->delivery->location_id) }} |
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 }} | --}}@php $unit_type_description = \App\Models\Tenant\Catalogs\UnitType::find($row->item->unit_type_id); @endphp {{ $unit_type_description->description }} | {{ $row->quantity }} |
OBSERVACIONES |
{{ $document->observations }} |