EVENTOS GEORGINA
Calle 45 #23-15
Tel: (607) 123-4567
Bucaramanga, Santander
PEDIDO #{{ str_pad($pedido->id, 4, '0', STR_PAD_LEFT) }}
Cliente:
{{ mb_strtoupper($pedido->cliente?->nombre ?? 'CLIENTE ELIMINADO', 'UTF-8') }}
@if($pedido->cliente?->direccion)
{{ $pedido->cliente?->direccion ." - ". $pedido->cliente?->barrio}}
@endif
{{ $pedido->cliente?->telefono }}
Fecha Entrega: {{ $pedido->fecha_entrega->format('d/m/Y h:i A') }}
Tipo: {{ $pedido->tipo_entrega === 'domicilio' ? '🚚 DOMICILIO' : '🏪 RECOGE EN TIENDA' }}
DETALLE DEL PEDIDO
@foreach($pedido->detalles as $detalle)
{{ $detalle->producto->nombre ?? 'Producto eliminado' }}
{{ $detalle->cantidad }} x ${{ number_format($detalle->subtotal, 0, ',', '.') }}
@if($detalle->variantes)
↳ {{ $detalle->variantes_texto }}
@endif @if($detalle->notas_especiales)
📌 {{ $detalle->notas_especiales }}
@endif {{--
@${{ number_format($detalle->precio_unitario, 0, ',', '.') }} c/u
--}}
@endforeach
@php $subtotal = $pedido->detalles->sum('subtotal'); @endphp
Subtotal:
${{ number_format($subtotal, 0, ',', '.') }}
@if($pedido->valor_domicilio > 0)
Domicilio:
${{ number_format($pedido->valor_domicilio, 0, ',', '.') }}
@endif @if($pedido->abono > 0)
Abono:
- ${{ number_format($pedido->abono, 0, ',', '.') }}
@endif
TOTAL A PAGAR:
${{ number_format($pedido->total, 0, ',', '.') }}
@if($pedido->notas_generales)
📌 NOTAS IMPORTANTES:
{{ $pedido->notas_generales }}
@endif
Impreso: {{ now()->format('d/m/Y h:i:s A') }}
Atendido por: {{ $pedido->user->name }}
¡GRACIAS POR SU PREFERENCIA!
Conserve este ticket como comprobante
{{--
www.eventosgeorgina.com
--}}
{{--

🎫 Control de Impresión Térmica

Optimizado para Epson TM-T20 (80mm)

📋 Especificaciones Técnicas:
• Modelo: Epson TM-T20 / TM-T20II
• Ancho papel: 80mm (papel térmico)
• Resolución: 203 DPI
• Velocidad: 150-200 mm/seg

⚙️ Configuración Recomendada:
• Corte automático: ✓ Activado
• Márgenes: 3-4mm laterales
• Orientación: Retrato
• Driver: EPSON TM-T20 Receipt

💡 Antes de Imprimir:
1. Verificar papel térmico cargado
2. Impresora encendida y lista
3. Cable USB/Red conectado
4. Driver instalado correctamente
--}}