INVOICE #{{ $sale->invoice_number ?? '-' }}

Tanggal: {{ $sale->sale_date ?? '-' }}
Customer: {{ $sale->customer_name ?? '-' }}
Pembayaran: {{ $sale->payment_method ?? '-' }}

@php $total = 0; @endphp @forelse ($sale->items as $item) @php $total += $item->subtotal; @endphp @empty @endforelse
Produk Qty Harga Subtotal
{{ $item->inventory->product_name ?? '-' }} {{ $item->quantity }} {{ number_format($item->selling_price, 0, ',', '.') }} {{ number_format($item->subtotal, 0, ',', '.') }}
Tidak ada item penjualan.
Total {{ number_format($total, 0, ',', '.') }}