@extends('layouts.app') @push('styles') @endpush @section('content') {{-- PAGE HEADER WITH BREADCRUMB --}}
{{-- Title Section --}}
Loan Repayment Tracing
{{-- Breadcrumb Path --}}
{{-- IMPROVED FILTER CARD --}}
{{-- CARD HEADER: Title na Count --}}
{{-- Title kuu ya Filter --}}
Filter Options
{{-- Count ya records --}}
Total Records: {{ number_format($filteredCount) }}
{{-- CARD BODY: Form ya Filters --}}
{{-- DATE RANGE FILTER --}}
Select a two-month period for comparison
{{-- DEPARTMENT FILTER --}}
Filter by specific department
{{-- ACTION BUTTONS --}}
{{-- Filter Button --}} {{-- Export Button --}} Export CSV
{{-- QUICK FILTERS --}}
Quick Filters: Reset All
{{-- DATA TABLE CARD --}}
@forelse ($filteredData as $data) @empty @endforelse
Check No. Name Deduction ({{ \Carbon\Carbon::parse($startDate)->format('M Y') }}) Deduction ({{ \Carbon\Carbon::parse($endDate)->format('M Y') }}) Difference Balance Description Month Action
{{ $data['check_number'] }} {{ $data['name'] }} {{ is_numeric($data['deduction_month_1']) ? number_format((float)$data['deduction_month_1'], 2) : $data['deduction_month_1'] }} {{ is_numeric($data['deduction_month_2']) ? number_format((float)$data['deduction_month_2'], 2) : $data['deduction_month_2'] }} {{ is_numeric($data['difference']) ? number_format((float)$data['difference'], 2) : $data['difference'] }} {{ is_numeric($data['balance']) ? number_format((float)$data['balance'], 2) : $data['balance'] }} {{ $data['deduction_description'] }} {{ $data['month_computed'] }} View

No records found for the selected filters.

{{-- PAGINATION FOOTER --}} @if($filteredData->hasPages()) @endif
@endsection @push('scripts') @endpush