PUNTO DE VENTA
{{ $datos['fecha'] ?? now()->format('d/m/Y H:i:s') }}
@if(!empty($datos['cliente']))

INFORMACIÓN DEL CLIENTE

@if(!empty($datos['cliente']['rfc'])) @endif @if(!empty($datos['cliente']['email'])) @endif @if(!empty($datos['cliente']['telefono'])) @endif
Nombre: {{ $datos['cliente']['nombre'] }}
RFC: {{ $datos['cliente']['rfc'] }}
Email: {{ $datos['cliente']['email'] }}
Teléfono: {{ $datos['cliente']['telefono'] }}
@endif @if(!empty($datos['nota']))

Nota:

{{ $datos['nota'] }}

@endif

Productos

@if(!empty($datos['productos'])) @foreach($datos['productos'] as $item)
{{ $item['descripcion'] }}
{{ $item['cantidad'] }} x ${{ number_format($item['preciounitario'], 2) }} ${{ number_format($item['importe'], 2) }}
@endforeach @endif
Subtotal: ${{ number_format($datos['subtotal'] ?? 0, 2) }}
IVA (16%): ${{ number_format($datos['impuesto'] ?? 0, 2) }}
TOTAL: ${{ number_format($datos['total'] ?? 0, 2) }}
@if(!empty($datos['formasPago'])) @foreach($datos['formasPago'] as $pago) @endforeach @endif
Formas de Pago:
{{ $pago['tipopago'] }}: ${{ number_format($pago['importe'], 2) }}
Total Recibido: ${{ number_format($datos['importeRecibido'] ?? 0, 2) }}
Cambio: ${{ number_format($cambio ?? 0, 2) }}