Reporte de Ventas

Período: {{ $from ?? 'Inicio' }} - {{ $to ?? 'Hoy' }}

@foreach($sales as $s) @endforeach
CódigoProductosSubtotalImpuestoTotalMétodoFecha
{{ $s->code }} @foreach($s->items as $item) {{ $item->quantity }}x {{ $item->product_name }}@if(!$loop->last), @endif @endforeach ${{ number_format($s->subtotal, 2) }} ${{ number_format($s->tax, 2) }} ${{ number_format($s->total, 2) }} {{ $s->payment_method }} {{ $s->created_at }}