{{ SettingModel::get('site_name') }} logo

{{ SettingModel::get('site_name') }}

{{ SettingModel::get('address') }}

LAPORAN PENDAPATAN-HARIAN

PERIODE {{ $periode_awal }} - {{ $periode_akhir }}

@foreach ($jenis as $item) @endforeach @foreach ($jenis as $item) @endforeach @php $totalTunai = 0; $totalTransfer = 0; @endphp @foreach ($pendapatans as $item) @php $total = 0; @endphp @foreach ($jenis as $itemJenis) @php $tunai = $detailTunais->where('tanggal_pembayaran',$item->tanggal_pembayaran)->where('jenis_pembayaran_id',$itemJenis->id)->sum('nominal_pembayaran'); $totalTunai += $tunai; $total += $tunai; @endphp @endforeach @foreach ($jenis as $itemJenis) @php $transfer = $detailTransfers->where('tanggal_pembayaran',$item->tanggal_pembayaran)->where('jenis_pembayaran_id',$itemJenis->id)->sum('nominal_pembayaran'); $totalTransfer += $transfer; $total += $transfer; @endphp @endforeach @endforeach @foreach ($jenis as $itemJenis) @endforeach @foreach ($jenis as $itemJenis) @endforeach
Tanggal Jumlah Tunai Transfer Total
{{ $item->nama_jenis_pembayaran }} {{ $item->nama_jenis_pembayaran }}
{{ $item->tanggal_pembayaran }} {{ $item->jumlah_pembayaran }} x pembayaran {{ number_format($tunai) }} {{ number_format($transfer) }} {{ number_format($total) }}
Total {{ number_format($detailTunais->where('jenis_pembayaran_id',$itemJenis->id)->sum('nominal_pembayaran')) }} {{ number_format($detailTransfers->where('jenis_pembayaran_id',$itemJenis->id)->sum('nominal_pembayaran')) }} {{ number_format($totalTunai+$totalTransfer) }}