@php $establishment = $document->establishment; $customer = $document->customer; $invoice = $document->invoice; //$template = 'default'; //$path_style = app_path('CoreFacturalo'.DIRECTORY_SEPARATOR.'Templates'.DIRECTORY_SEPARATOR.'pdf'.DIRECTORY_SEPARATOR.$template.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 }} |
FECHA DE EMISION | : | {{ $document->date_of_issue->format('d/m/Y') }} | |||
SEÑOR(es) | : | {{ $customer->name }} | |||
{{ $customer->identity_document_type->description }}: | : | {{ $customer->number }} | |||
DIRECCIÓN | : | {{ $customer->address }}, {{ strtoupper($customer->department->description) }}-{{ strtoupper($customer->province->description) }}-{{ strtoupper($customer->district->description) }} | {{--DIRECCIÓN | --}} {{--: | --}} {{--{{ $customer->address }} | --}}
TELÉFONO | : | {{ $customer->telephone }} | |||
MONEDA | : | {{ $document->currency_type->description }} | |||
FORMA DE PAGO | : | {{ $document->payment_method_type->description }} |
Orden de Compra: | {{ $document->purchase_order }} |
{{ $guide->document_type_id }} | {{ $guide->number }} |
CANT. | UND. | DESCRIPCIÓN | TOTAL |
---|---|---|---|
{{ $row->quantity }} | @php $unit_type_description = \App\Models\Catalogs\UnitType::find($row->item->unit_type_id); @endphp {{ $unit_type_description->description }} | {!! $row->item->description !!} | {{ number_format($row->total, 2) }} |
--}} {{-- | |||
@foreach($document->legends as $row)
Son: {{ $row->value }} {{ $document->currency_type->description }} @endforeach@if($document->additional_information) Información adicional @foreach($document->additional_information as $information) {{ $information }} @endforeach @endif |
|