@extends('layouts.app') @section('title', 'Savings Maturity Report') @section('page-title', 'Savings Maturity Report') @section('content')
Reset
Total Accounts

{{ $summary['total_accounts'] }}

Matured

{{ $summary['matured_accounts'] }}

Upcoming

{{ $summary['upcoming_accounts'] }}

Total Amount

₹{{ number_format($summary['total_maturity_amount'], 2) }}

Savings Maturity Details
@forelse($savings as $saving) @empty @endforelse
Savings # Customer Scheme Deposit Date Maturity Date Amount Days Until Maturity Status
{{ $saving->savings_number }} {{ $saving->customer->name }} {{ $saving->scheme->name ?? 'N/A' }} {{ $saving->deposit_date->format('d M Y') }} {{ $saving->maturity_date->format('d M Y') }} ₹{{ number_format($saving->amount, 2) }} @if($saving->is_matured) Matured @else {{ $saving->days_until_maturity }} days @endif {{ $saving->is_matured ? 'Matured' : 'Active' }}

No savings found

@endsection