Fecha:
{{ $sale->created_at->format('d/m/Y') }}
Hora:
{{ $sale->created_at->format('h:i A') }}
Cajero:
{{ $sale->user->name }}
Factura #:
{{ $sale->id }}
| Cant |
Desc. |
Total |
@foreach($sale->details as $detalle)
| {{ number_format($detalle->quantity, 0) }} |
{{ $detalle->product->name }} |
{{ number_format($detalle->subtotal / 1.18, 2) }} |
@endforeach
Subtotal:
{{ number_format($sale->total / 1.18, 2) }}
ITBIS (18%):
{{ number_format($sale->total - ($sale->total / 1.18), 2) }}
TOTAL RD$:
{{ number_format($sale->total, 2) }}
Pagado con:
{{ $sale->payment_method }}
Entregado:
{{ number_format($sale->amount_paid, 2) }}
Cambio:
{{ number_format($sale->change_given, 2) }}