@extends('layouts.admin') @section('title', 'Welfare') @section('page-title', 'Welfare') @section('page-subtitle', 'Manage welfare contributions') @section('content')
Export PDF

Total Contributions

GHS {{ number_format($stats['total'], 2) }}

Total Arrears

GHS {{ number_format($stats['total_arrears'], 2) }}

Members Paid

{{ $stats['paid_count'] }}

Outstanding

{{ $stats['outstanding_count'] }}

@forelse($contributions as $welfare) @empty @endforelse
Member Receipt Amount Month Date Actions
@if($welfare->member->profile_photo) @else
{{ substr($welfare->member->first_name, 0, 1) }}{{ substr($welfare->member->last_name, 0, 1) }}
@endif

{{ $welfare->member->full_name }}

{{ $welfare->member->member_id }}

{{ $welfare->receipt_number }} GHS {{ number_format($welfare->amount, 2) }} {{ \Carbon\Carbon::parse($welfare->month . '-01')->format('M Y') }} {{ $welfare->payment_date->format('M d, Y') }}

No welfare contributions recorded yet

@if($contributions->hasPages())
{{ $contributions->withQueryString()->links() }}
@endif
@endsection