#{{ $sale->id }} | {{ $sale->created_at->format('Y-m-d H:i') }}
Nombre: {{ $sale->customer_name ?? '-' }}
Correo: {{ $sale->customer_email ?? '-' }}
Teléfono: {{ $sale->customer_phone ?? '-' }}
| Producto | Cant. | Precio | Total |
|---|---|---|---|
| {{ $item->product->name ?? 'Producto #' . $item->product_id }} | {{ $item->quantity }} | $ {{ number_format($item->unit_price, 2) }} | $ {{ number_format($item->total, 2) }} |
| Subtotal | $ {{ number_format($sale->subtotal, 2) }} |
|---|---|
| Descuento | $ {{ number_format($sale->discount, 2) }} |
| Total | $ {{ number_format($sale->total, 2) }} |