@if (Auth::user()->can('hc_dash.view'))
{{-- KPI Cards --}}
{{-- Revenue --}}
{{-- Expenses --}}
{{-- Net Profit --}}
{{-- Cash Balance --}}
@endif
@if (Auth::user()->can('active_sponsorship.view'))
@endif
@if (Auth::user()->can('active_sponsorship_usa.view'))
@endif
@if (Auth::user()->can('active_sponsorship_ger.view'))
@endif
@if (Auth::user()->can('active_sponsorship_ug.view'))
@endif
@if (Auth::user()->can('awaiting_sponsorship.view'))
@endif
@if (Auth::user()->can('children_received_coffee.view'))
@endif
@if (Auth::user()->can('children_not_received_coffee.view'))
@endif
@if (Auth::user()->can('success_rate.view'))
@endif
@if (Auth::user()->can('graduated.view'))
@endif
@if (Auth::user()->can('active_farmers.view'))
@endif
@if (Auth::user()->can('groups_dash.view'))
@endif
@if (Auth::user()->can('female_farmers_dash.view'))
@endif
@if (Auth::user()->can('male_farmers_dash.view'))
@endif
{{-- UGX prefix instead of dollar icon --}}
All Active Sponsorships
{{ $activeSponsorships }}
Active Sponsorships
{{ $usaSponsored }}
Active Sponsorships
{{ $germanSponsored }}
Active Sponsorships
{{ $ugandaSponsored }}
Awaiting Sponsorship
{{ $pendingSponsorships }}
Sponsorship Rate
34.6%
Graduated
{{ $graduated }}
Active Farmers
4,541
Groups
61
Female Farmers
1,770
Male Farmers
2,771
@if (Auth::user()->can('farmers_age_gender.view'))
@endif
@if (Auth::user()->can('farmers_group.view'))
@endif
@if (Auth::user()->can('hc_dash.view'))
📊 Farmers by Age Group & Gender
👥 Farmers by Group
Monthly Revenue vs. Expenses
Expense Breakdown by Category
Invoice Status Overview
Revenue & Quantity by Farmer
{{-- Top 5 Overdue AR --}}
{{-- Top 5 Overdue AP --}}
@endif
Top 5 Overdue AR
| Ref | Customer | Balance | Due Date |
|---|---|---|---|
| {{ $r->ref }} | {{ $r->party }} | {{ number_format($r->balance,2) }} | {{ $r->due }} |
| No overdue receivables. | |||
Top 5 Overdue AP
| Ref | Vendor | Balance | Due Date |
|---|---|---|---|
| {{ $r->ref }} | {{ $r->party }} | {{ number_format($r->balance,2) }} | {{ $r->due }} |
| No overdue payables. | |||
@if (Auth::user()->can('sponsorship_per_cluster.view'))
@endif
@if (Auth::user()->can('sponsorship_per_cluster_ger.view'))
@endif
@if (Auth::user()->can('sponsorship_per_cluster_usa.view'))
@endif
@if (Auth::user()->can('country_specifics.view'))
@endif
@if (Auth::user()->can('children_sponsorship_trend.view'))
@endif
@if (Auth::user()->can('children_graduation_trend.view'))
@endif
Child and Family Sponsorship Per Cluster
Child and Family Sponsorship Per Cluster
Child and Family Sponsorship Per Cluster
Country Specifics
-
@foreach($countries as $index => $country)
@if($country == 'Germany')
- {{ $country }} {{ $childCounts[$index] }} @else
- {{ $country }} {{ $childCounts[$index] }} @endif @endforeach
📊 Child and Family Sponsorship Trends
📊 Child and Family Graduation Trends
@if (Auth::user()->can('recent_sponsorships.view'))
@endif
Recent Sponsorships
| S/N | Photo | Child Number | Name | Sponsor | Start Date | Graduation Date |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item['child_number'] }} | {{ $item['child_name'] }} | {{ $item['sponsor_name'] }} | {{ $item['start_date'] }} | {{ $item['graduation_date'] }} |
@if (Auth::user()->can('recent_sponsorshipsGer.view'))
@endif
Recent Sponsorships
| S/N | Photo | Child Number | Name | Sponsor | Start Date | Graduation Date |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item['child_number'] }} | {{ $item['child_name'] }} | {{ $item['sponsor_name'] }} | {{ $item['start_date'] }} | {{ $item['graduation_date'] }} |
@if (Auth::user()->can('recent_sponsorshipsUS.view'))
@endif
@endif
@if (Auth::user()->can('farmers_group.view'))
@endif
@endsection
=======
@include('admin.dashboard.partials.styles')
Recent Sponsorships
| S/N | Photo | Child Number | Name | Sponsor | Start Date | Graduation Date |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item['child_number'] }} | {{ $item['child_name'] }} | {{ $item['sponsor_name'] }} | {{ $item['start_date'] }} | {{ $item['graduation_date'] }} |
@if (Auth::user()->can('pending_payment_vouchers.view'))
@endif
@if (Auth::user()->can('farmers_registration_trend.view'))
Recent Payment Vouchers
| S/N | Date | Farmer Photo | Voucher ID | Farmer Name | Amount | Action |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ \Carbon\Carbon::parse($voucher->date_saved)->format('F j, Y') }} |
|
{{ $voucher->id }} | {{ $voucher->farmer_fname }} {{ $voucher->farmer_lname }} | {{number_format($voucher->net_pay, 0) }} | @if (Auth::user()->can('payment_voucher_pending_payment.view') && $voucher->voucher_status == 3) Make Payment @endif |
📊 Farmers Registration Trends
📊 Farmers Per Group
@if (Auth::user()->can('farmers_district.view'))
@endif
@push('scripts')
@endpush
@push('scripts')
{{-- 1) include Chart.js if you haven’t already --}}
@endpush
@push('scripts')
@endpush
@push('scripts')
@endpush
🗺️ Farmers Location
@include('admin.dashboard.partials.header')
@include('admin.dashboard.partials.quick-actions')
@include('admin.dashboard.partials.kpis')
@include('admin.dashboard.partials.recent-activity')
@include('admin.dashboard.partials.charts')
@include('admin.dashboard.partials.scripts')
@push('scripts')
@endpush
@endsection
>>>>>>> origin/main