TOKO {{ strtoupper($storeName) }}
{{ \Carbon\Carbon::parse($data->created_at)->translatedFormat('d F Y') }}
NOTA PEMBAYARAN
ID Transaksi : #66{{ $data->id }}99
Detail Produk:
| Nama Produk |
Jumlah |
Harga |
@php
$produkList = explode(',', $data->nama_produk ?? '');
$hargaList = explode(',', $data->jumlah ?? '');
$qtyList = explode(',', $data->qty ?? '');
$totalPembayaran = 0;
@endphp
@foreach($produkList as $i => $produk)
@php
$produkTrim = trim($produk);
$harga = isset($hargaList[$i]) ? (float) trim($hargaList[$i]) : 0;
$qty = isset($qtyList[$i]) ? (float) trim($qtyList[$i]) : 0;
$totalPembayaran += $harga;
@endphp
| {{ $produkTrim }} |
{{ $qty > 0 ? $qty : '-' }} |
{{ $harga > 0 ? 'Rp ' . number_format($harga, 0, ',', '.') : '-' }} |
@endforeach
Total Pembayaran
{{ $totalPembayaran > 0 ? 'Rp ' . number_format($totalPembayaran, 0, ',', '.') : '-' }},00
~ TERIMA KASIH ~
Semoga hari Anda menyenangkan