@extends('layouts.app') @section('content') {{-- PAGE HEADER WITH BREADCRUMB --}} {{-- IMPROVED FILTER CARD --}}
{{-- CARD HEADER: Title na Count --}}
{{-- Title kuu ya Filter --}}
Filter Options
{{-- Count ya records --}}
Filtered Records: {{ number_format($count) }}
{{-- CARD BODY: Form ya Filters --}}
{{-- ROW 1: Check Date, Department, Deduction Filter --}}
Select the payment date to analyze
Filter by specific department
Set amount comparison type
{{-- ROW 2: Amount Inputs and Action Buttons --}}
Enter minimum deduction amount
Enter maximum deduction amount
{{-- ACTION BUTTONS --}}
{{-- Filter Button --}} {{-- Export Button --}} @if($count > 0) Export CSV @endif
{{-- QUICK FILTERS --}}
Quick Filters: Reset All
{{-- UJUMBE WA LAZIMA WA KUCHAGUA TAREHE --}} @if(!request()->filled('checkDate'))
Check Date Required
Tafadhali chagua Tarehe ya Check (Check Date) kuanza uchambuzi.
{{-- KUONYESHA DATA --}} @elseif($count > 0)
@forelse($deductions as $deduction) @empty @endforelse
SN Check No. Name Monthly Salary Deduction Amount Department Check Date
{{ ($deductions->currentPage() - 1) * $deductions->perPage() + $loop->iteration }} {{ $deduction->checkNumber }} {{ trim("{$deduction->firstName} {$deduction->middleName} {$deduction->lastName}") }} {{ number_format($deduction->monthlySalary, 2) }} {{ number_format($deduction->deductionAmount, 2) }} {{ $deduction->deptName }} {{ \Carbon\Carbon::parse($deduction->checkDate)->format('d-m-Y') }}

No records found.

{{-- PAGINATION FOOTER --}} @if($deductions->hasPages()) @endif
{{-- HAKUNA DATA --}} @else
No Records Found
Hakuna rekodi zozote za makato (Deduction Code 667) zilizopatikana kulingana na vigezo ulivyoweka.
@endif @endsection