@csrf

Filter Data



@foreach ($kodebank as $data) @endforeach @php $no = '1'; @endphp @foreach ($kodebank as $item) @php $bukuharian = DB::table('bukuharians')->select(DB::raw('sum(debet) as sum_debet,sum(kredit) as sum_kredit'))->where('kode', $item->kode) ->where('tgl_setor', 'like', '%'.(!empty($tanggal) ? $tanggal : null) )->first(); @endphp @endforeach
No{{ $data->nama_kodebank }}
{{ $no++ }}Rp. {{ number_format($bukuharian->sum_debet+$bukuharian->sum_kredit, 0, ',', '.') }}