{{ $title }}

Total Pegawai Ditagih: {{ $batch->items->count() }} Orang

@foreach($batch->items as $index => $item) @endforeach
No NIK Nama Anggota Simpanan Wajib Cicilan Pinjaman Total Potongan
{{ $index + 1 }} {{ $item->member->nik ?? '-' }} {{ $item->member->name }} Rp {{ number_format($item->simpanan_wajib_amount, 0, ',', '.') }} Rp {{ number_format($item->loan_installment_amount, 0, ',', '.') }} Rp {{ number_format($item->total_amount, 0, ',', '.') }}
TOTAL Rp {{ number_format($batch->items->sum('simpanan_wajib_amount'), 0, ',', '.') }} Rp {{ number_format($batch->items->sum('loan_installment_amount'), 0, ',', '.') }} Rp {{ number_format($batch->total_amount, 0, ',', '.') }}