@php $left = 'RT'; $tittle = $left . '-' . str_pad($route->id, 8, '0', STR_PAD_LEFT); $logo = "storage/uploads/logos/{$company->logo}"; if ($establishment->logo) { $logo = "{$establishment->logo}"; } @endphp @if ($company->logo) @else @endif

{{ $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 : '' }}
{{ $establishment->telephone !== '-' ? $establishment->telephone : '' }}
{{--
{{ get_document_name('sale_note', 'NOTA DE VENTA') }}
--}}
RUTA LIMA

{{ $tittle }}



CONDUCTOR: DNI: TELEFONO: FECHA SALIDA:
KM INICIAL: KM FINAL: COMBUSTIBLE: FACTURA COMBUSTIBLE: PAGO COMBUSTIBLE
@foreach ($items as $item) @php $order = (object)$item @endphp @endforeach
ORDEN CLIENTE TLF DISTRITO DIRECCION OBSERVACION COND. PAGO EST. PAGO CONF. PAGO SALDO VENDEDOR
{{ $order->full_number }} {{ $order->customer_name }} {{ $order->customer_telephone }} {{ $order->district_name }} {{ $order->shipping_address }} {{ $order->observation }} @foreach ($order->payments_methods as $payment_method) {{ $payment_method }} @endforeach {{ $order->total_canceled ? 'Pagado' : 'Pendiente' }} {{ ($order->state_payment_id == '01' ? 'En espera' : $order->state_payment_id == '02') ? 'Aprobado' : 'Rechazado' }} {{ $order->total_pending_paid }} {{ $order->seller_name }}