@php $path_style = app_path('CoreFacturalo'.DIRECTORY_SEPARATOR.'Templates'.DIRECTORY_SEPARATOR.'pdf'.DIRECTORY_SEPARATOR.'style.css'); @endphp
{{ $company->name }}
{{ 'RUC '.$company->number }}
{{ ($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 : '' }}
Comprobante de pedido

{{ str_pad($records->id, 6, "0", STR_PAD_LEFT) }}

@if ($customer->direccion !== '') @endif
F. Emisión: {{ $records->created_at }}
Medio Pago: {{ $records->reference_payment }}
Cliente: {{ $customer->apellidos_y_nombres_o_razon_social }}
Correo: {{ $customer->correo_electronico }}:
Teléfono: {{ $customer->telefono }}
Dirección: {{ $customer->direccion }}
@foreach($records->items as $row) @endforeach
DESCRIPCIÓN CANT. MONEDA P.UNIT TOTAL
{{ $row->description }} {{ $row->cantidad }} {{ $row->currency_type_id }} {{ $row->currency_type->symbol }}{{ $row->sale_unit_price }} S/ {{ $row->sub_total }}
TOTAL A PAGAR: S/ {{ number_format($records->total, 2) }}