{{ $store->store_name }}
{{ $store->address }}
Nama : {{ $supplier->store_name }}
Alamat : {{ $supplier->address }}
{{ $transaction->purchase_date }}
| Nama Item | SKU | Jumlah | Harga | Diskon | Subtotal |
|---|---|---|---|---|---|
|
{{ $product->product_name }}
{{ $product->variasi_1 }} {{ $product->variasi_2 ? ', ' . $product->variasi_2 : '' }} {{ $product->variasi_3 ? ', ' . $product->variasi_3 : '' }} |
{{ $product->sku }} | {{ $product->quantity }} | Rp {{ number_format($product->purchase_price, 0, ',', '.') }} | Rp {{ number_format($product->diskon, 0, ',', '.') }} | Rp {{ number_format($product->quantity * $product->purchase_price - $product->diskon, 0, ',', '.') }} |
| Sub Total: | Rp {{ number_format($products->sum(function($product) { return $product->quantity * $product->purchase_price - $product->diskon; }), 0, ',', '.') }} | ||||
| Diskon: | Rp {{ number_format($transaction->discount, 0, ',', '.') }} | ||||
| Grand Total: | Rp {{ number_format($transaction->total_amount - $transaction->discount, 0, ',', '.') }} | ||||
| Kategori Biaya | Jumlah | Catatan |
|---|---|---|
| {{ $expense->name }} | Rp {{ number_format($expense->amount, 0, ',', '.') }} | {{ $expense->note }} |
| Total Biaya Lain-lain: | Rp {{ number_format($expenses->sum('amount'), 0, ',', '.') }} | |
| Tanggal Pembayaran | Metode Pembayaran | Bank | Catatan | Jumlah |
|---|---|---|---|---|
| {{ $payment->payment_date }} | {{ $payment->payment_method }} | {{ $payment->bank_name }} - {{ $payment->bank_account_number }} | {{ $payment->payment_note }} | Rp {{ number_format($payment->amount_paid, 0, ',', '.') }} |
| Total Pembayaran: | Rp {{ number_format($detail_payment->sum('amount_paid'), 0, ',', '.') }} | |||
| Sisa Pembayaran: | Rp {{ number_format($transaction->remaining_payment, 0, ',', '.') }} | |||
| Kembalian: | Rp {{ number_format($detail_payment->sum('amount_paid') - ($transaction->total_amount - $transaction->discount + $expenses->sum('amount')), 0, ',', '.') }} | |||
|
Catatan:
{{ $transaction->note ?? 'Tidak ada catatan' }} * Terima kasih atas kerjasamanya. |
Pembeli ( {{ $store->store_name }} ) |
Supplier ( {{ $supplier->store_name }} ) |