@extends('layouts.app') @section('content')

Detail Rekap — {{ $rekap->periode }}

@if($rekap->status === 'ditolak')
Alasan ditolak RT: {{ $rekap->catatan_rt }}
@endif {{-- Desktop Table --}}
@foreach($rekap->iurans as $i) @endforeach
Penghuni Bulan/Tahun Jumlah Status
{{ $i->penghuni->nama ?? '-' }} {{ $i->bulan }} {{ $i->tahun }} Rp {{ number_format($i->jumlah, 0, ',', '.') }} {{ ucfirst($i->status) }}
Total Rp {{ number_format($rekap->iurans->sum('jumlah'), 0, ',', '.') }}
{{-- Mobile Cards --}}
@foreach($rekap->iurans as $i)
{{ $i->penghuni->nama ?? '-' }}
{{ $i->bulan }} {{ $i->tahun }}
{{ ucfirst($i->status) }}
Rp {{ number_format($i->jumlah, 0, ',', '.') }}
@endforeach {{-- Total Mobile --}}
Total Rp {{ number_format($rekap->iurans->sum('jumlah'), 0, ',', '.') }}
Kembali
@endsection