|
@if ($config->mostrar_logo_ticket && $config->logo && file_exists(public_path('storage/'.$config->logo)))
{{ $config->nombre_comercial ?: $config->nombre_empresa }}
{{ $config->nombre_empresa }}
@if($config->direccion) {{ $config->direccion }} @endif @if($config->poblacion || $config->provincia) {{ trim(($config->poblacion ?? '').' - '.($config->provincia ?? '').' - '.($config->pais ?? 'Perú')) }} @endif @if($config->telefono) Tel: {{ $config->telefono }} | @endif @if($config->email) Email: {{ $config->email }} @endif |
R.U.C. N° {{ $config->nif ?? '20000000001' }}
GUÍA DE DESPACHO / RUTA
{{ $delivery->codigo }}
Emisión: {{ now()->format('d/m/Y H:i') }}
|
| Recibe: | {{ $delivery->destinatario_nombre }} | Teléfono: | {{ $delivery->destinatario_telefono ?: 'Sin teléfono' }} |
| Repartidor / Courier: | {{ $delivery->repartidor_nombre ?: 'Por asignar' }} @if($delivery->repartidor_telefono) ({{ $delivery->repartidor_telefono }}) @endif | Fecha Programada: | {{ $delivery->fecha_entrega_programada ? $delivery->fecha_entrega_programada->format('d/m/Y') : 'Inmediata / Hoy' }} |
| Rango Horario: | {{ $delivery->horario_preferido ?: 'Cualquier momento del día' }} | Registrado por: | {{ $delivery->user ? $delivery->user->name : 'Administrador' }} |
| Descripción del Artículo | Cant. | P. Unit | Subtotal |
|---|---|---|---|
| {{ $det->producto ? $det->producto->nombre : 'Artículo' }} | {{ $det->cantidad }} | {{ formato_moneda($det->precio_unitario) }} | {{ formato_moneda($det->subtotal) }} |
| Subtotal Productos: @if(($delivery->condicion_cobro ?? 'solo_flete') !== 'contraentrega') (PAGADO EN TIENDA) @else (POR COBRAR) @endif | {{ formato_moneda($delivery->venta->total) }} |
| Costo Envío / Flete: @if(($delivery->condicion_cobro ?? 'solo_flete') === 'ya_pagado') (PAGADO) @endif | {{ formato_moneda($delivery->costo_envio) }} |
| Modalidad: {{ $delivery->label_condicion_cobro }} | |
| TOTAL A COBRAR POR REPARTIDOR: | {{ formato_moneda($delivery->total_a_cobrar) }} |
|
Despachado por (Tienda)
Firma / Sello de Entrega
|
Recibido Conforme (Cliente)
Firma: _________________ DNI: ____________
|