LAPORAN PERUMAHAN

Periode: {{ $periode['mulai'] }} s/d {{ $periode['selesai'] }}

@php $totalUnit = 0; $totalPendapatan = 0; $totalBeban = 0; $totalLaba = 0; @endphp @foreach ($rows as $row) @php $totalUnit += $row['unit_terjual']; $totalPendapatan += $row['pendapatan']; $totalBeban += $row['beban']; $totalLaba += $row['laba']; @endphp @endforeach
Perumahan Unit Terjual Pendapatan Beban Laba
{{ $row['nama'] }} {{ $row['unit_terjual'] }} {{ number_format($row['pendapatan'], 0, ',', '.') }} {{ number_format($row['beban'], 0, ',', '.') }} {{ number_format($row['laba'], 0, ',', '.') }}
TOTAL {{ $totalUnit }} {{ number_format($totalPendapatan, 0, ',', '.') }} {{ number_format($totalBeban, 0, ',', '.') }} {{ number_format($totalLaba, 0, ',', '.') }}