Nota Penjualan

No. Nota: {{ $sale->invoice_number }}

Tanggal: {{ old('sale_date', isset($sale) ? \Carbon\Carbon::parse($sale->sale_date)->format('Y-m-d') : now()->format('Y-m-d')) }}

Customer: {{ $sale->customer_name }}

Pembayaran: {{ $sale->payment_method }}

@php $total = 0; @endphp @foreach ($sale->items as $item) @php $sub = $item->quantity * $item->selling_price; $total += $sub; @endphp @endforeach
Barang Qty Harga Satuan Subtotal
{{ $item->inventory->product_name }} {{ $item->quantity }} Rp{{ number_format($item->selling_price, 0, ',', '.') }} Rp{{ number_format($sub, 0, ',', '.') }}
Total Rp{{ number_format($total, 0, ',', '.') }}

Terima kasih telah berbelanja!

← Kembali