@extends('layouts.app') @section('content')
{{-- HEADER --}}

๐Ÿ’ฐ Data Iuran Saya

Kelola pembayaran iuran bulanan Anda

Tahun {{ date('Y') }}
{{-- STATS --}} @php $lunas = $iuran->where('status','lunas')->count(); $belum = $iuran->where('status','!=','lunas')->count(); $total = $iuran->where('status','lunas')->sum('jumlah'); $pct = $iuran->count() > 0 ? round($lunas / $iuran->count() * 100) : 0; @endphp
{{ $lunas }}
Bulan Lunas
{{ $belum }}
Belum Bayar
Rp {{ number_format($total,0,',','.') }}
Total Dibayar
{{-- MAIN GRID --}}
{{-- QRIS --}}
Bayar via QRIS
{{--

Scan dengan e-wallet apapun

QRIS
Scan menggunakan GoPay, OVO, Dana, atau e-wallet lainnya
{{-- TABLE --}}
Riwayat Iuran

{{ $iuran->count() }} tagihan tahun berjalan

Bulan Jumlah Jenis Status Aksi
{{-- โ”€โ”€ MODAL DETAIL โ”€โ”€ --}} @foreach($iuran->where('status','lunas') as $i) @endforeach @endsection