@extends('admin.layouts.app') @section('title', 'Accounting') @section('breadcrumb') @endsection @section('content')
₹{{ number_format($stats['total_collected']/1000,0) }}K
Total Collected
₹{{ number_format($stats['this_month']/1000,0) }}K
This Month
₹{{ number_format($stats['pending']/1000,0) }}K
Pending
{{ $stats['total_heads'] }}
Active Fee Heads
@foreach([ ['Fee Heads', 'tags', 'Define individual fee components', route('admin.accounting.fee-heads'), 'warning'], ['Fee Groups', 'collection', 'Bundle fee heads into groups', route('admin.accounting.fee-groups'), 'info'], ['Assign to Classes', 'diagram-3', 'Assign fee groups to classes', route('admin.accounting.assign'), 'primary'], ['Record Payment', 'cash-stack', 'Collect fee from student', route('admin.accounting.payments.create'), 'success'], ] as [$title, $icon, $desc, $url, $color])
{{ $title }}
{{ $desc }}
@endforeach
Recent Payments View All
@foreach($recentPayments as $p) @endforeach
Pay No.StudentAmountMethodDateStatus
{{ $p->payment_no }}
{{ $p->student?->student_name }}
{{ $p->student?->student_code }}
₹{{ number_format($p->net_amount) }} {{ strtoupper($p->payment_method) }} {{ $p->payment_date->format('d M Y') }} {{ ucfirst($p->status) }}
@endsection