@extends('layouts.app') @section('content') {{-- PAGE HEADER WITH BREADCRUMB --}}
{{-- Title Section --}}
Members Contributions
{{-- Breadcrumb Path --}}
{{-- IMPROVED FILTER CARD --}}
{{-- CARD HEADER: Title na Count --}}
{{-- Title kuu ya Filter --}}
Filter Options
{{-- Count ya records --}}
Total Contributions: {{ number_format($contributions->total()) }}
{{-- CARD BODY: Form ya Filters --}}
{{-- ROW 1: Date, Check Number, First Name --}}
Filter by contribution date
Search by check number
Search by first name
{{-- ROW 2: Middle Name, Last Name, Action Buttons --}}
Search by middle name
Search by last name
{{-- ACTION BUTTONS --}}
{{-- Filter Button --}} {{-- Export Button --}}
{{-- QUICK FILTERS --}}
Quick Filters: Reset All
{{-- CONTRIBUTIONS LIST TABLE --}}
@forelse($contributions as $index => $record) @empty @endforelse
SN
Check Number
National ID
Name
Monthly Salary
Contribution
Vote Code
Department
Actions
{{ $contributions->firstItem() + $index }}
{{ $record->checkNumber }} {{ $record->nationalId }} {{ $record->firstName }} {{ $record->middleName }} {{ $record->lastName }} TSh {{ number_format($record->monthlySalary, 2) }} TSh {{ number_format($record->deductionAmount, 2) }} {{ $record->voteCode }} {{ $record->deptName }}
No contributions found

No contribution data available for the selected filters.

{{-- PAGINATION FOOTER --}} @if($contributions->hasPages()) @endif
@endsection