@extends('layouts.app') @section('title', 'Dashboard Keuangan') @push('styles') @endpush @section('content')
Total Siswa Aktif {{ number_format($totalSiswa, 0, ',', '.') }} Siswa
Total Pemasukan Per Tahun Rp {{ number_format($totalPendapatan, 0, ',', '.') }}
Tagihan Belum Lunas {{ number_format($tagihanBelumLunas, 0, ',', '.') }} Tagihan
Siswa Menunggak {{ number_format($siswaMenunggak, 0, ',', '.') }} Siswa
Pembayaran Hari Ini Rp {{ number_format($pembayaranHariIni, 0, ',', '.') }}
Total Sisa Tagihan Rp {{ number_format($totalSisaTagihan, 0, ',', '.') }}

Trend Pembayaran (6 Bulan Terakhir)

Status Pembayaran

Transaksi Terbaru

@forelse($transaksiTerbaru as $trx) @empty @endforelse
Kode Siswa Tgl Bayar Total
{{ $trx->kode_transaksi }} {{ $trx->siswa->nama ?? '-' }} {{ \Carbon\Carbon::parse($trx->tanggal_bayar)->format('d/m/Y') }} Rp {{ number_format($trx->total_bayar, 0, ',', '.') }}
Belum ada transaksi

Reminder Jatuh Tempo

@forelse($reminderTagihan as $tagihan) @empty @endforelse
Siswa Tagihan Jatuh Tempo Kekurangan
{{ $tagihan->siswa->nama ?? '-' }} {{ $tagihan->tarifPembayaran->nama ?? '-' }} @php $jt = \Carbon\Carbon::parse($tagihan->tanggal_jatuh_tempo); $isPassed = $jt->isPast(); @endphp {{ $jt->format('d/m/Y') }} Rp {{ number_format($tagihan->jumlah_tagihan - $tagihan->jumlah_terbayar, 0, ',', '.') }}
Tidak ada tagihan jatuh tempo terdekat
@endsection @push('scripts') @endpush