LAPORAN PENJUALAN {{ strtoupper($nama_proyek) }}

@php $totalHarga = 0; $totalBookingFee = 0; $totalDp = 0; $totalSisaPembayaran = 0; $totalUangMasuk = 0; @endphp @foreach ($data as $key => $row) @endforeach
No Kode Transaksi Produk & Grade Luas Nama Pelanggan Booking Fee DP Total Harga Sisa Pembayaran Total Uang Masuk Tanggal Booking No HP
{{ $key + 1 }} {{ $row->KodeTransaksi ?? '-' }} {{ $row->ProdukGrade ?? '-' }} {{ $row->Luas !== '-' ? $row->Luas . ' m²' : '-' }} {{ $row->NamaPelanggan ?? '-' }} @php $totalBookingFee += $row->BookingFee; @endphp {{ 'Rp ' . number_format($row->BookingFee, 0, ',', '.') }} @php $totalDp += $row->Dp; @endphp {{ 'Rp ' . number_format($row->Dp, 0, ',', '.') }} @php $totalHarga += $row->TotalHarga; @endphp {{ 'Rp ' . number_format($row->TotalHarga, 0, ',', '.') }} @php $totalSisaPembayaran += $row->SisaPembayaran; @endphp {{ 'Rp ' . number_format($row->SisaPembayaran, 0, ',', '.') }} @php $totalUangMasuk += $row->TotalUangMasuk; @endphp {{ 'Rp ' . number_format($row->TotalUangMasuk, 0, ',', '.') }} {{ $row->TanggalBooking ?? '-' }} {{ $row->NoHP ?? '-' }}
Total {{ 'Rp ' . number_format($totalBookingFee, 0, ',', '.') }} {{ 'Rp ' . number_format($totalDp, 0, ',', '.') }} {{ 'Rp ' . number_format($totalHarga, 0, ',', '.') }} {{ 'Rp ' . number_format($totalSisaPembayaran, 0, ',', '.') }} {{ 'Rp ' . number_format($totalUangMasuk, 0, ',', '.') }}