| Subtotal |
Rp {{ number_format($subtotal, 0, ',', '.') }} |
@if($voucherDiscount > 0)
| Diskon Voucher{{ $voucherCode !== '' ? ' ('.$voucherCode.')' : '' }} |
-Rp {{ number_format($voucherDiscount, 0, ',', '.') }} |
@endif
@if($pointDiscount > 0)
| Diskon Poin{{ $pointsRedeemed > 0 ? ' ('.number_format($pointsRedeemed, 0, ',', '.').' poin)' : '' }} |
-Rp {{ number_format($pointDiscount, 0, ',', '.') }} |
@endif
@if($manualDiscount > 0)
| Diskon |
-Rp {{ number_format($manualDiscount, 0, ',', '.') }} |
@endif
@if($transaction->tax_amount > 0)
| Pajak PB1{{ $taxPercentage !== '' ? ' ('.$taxPercentage.'%)' : '' }} |
Rp {{ number_format($taxAmount, 0, ',', '.') }} |
@endif
@if($paymentFee > 0)
| Biaya Admin |
Rp {{ number_format($paymentFee, 0, ',', '.') }} |
@endif
@if($roundingAmount !== 0)
| Pembulatan |
Rp {{ number_format($roundingAmount, 0, ',', '.') }} |
@endif
| Total Pembayaran |
Rp {{ number_format($total, 0, ',', '.') }} |
@if(($transaction->payment_method ?? '') === 'cash' && $cashReceived > 0)
| Tunai Diterima |
Rp {{ number_format($cashReceived, 0, ',', '.') }} |
| Kembalian |
Rp {{ number_format($cashChange, 0, ',', '.') }} |
@endif