@extends('interest.base') @section('action-content')

Interest Calculations

Reset
@forelse($history as $row) @empty @endforelse
Client Account Old Balance Interest New Balance Rate (%) Frequency Date Posted
{{ $row->savingsAccount->client->surname ?? 'N/A' }} {{ $row->savingsAccount->client->first_name ?? '' }} {{ $row->savingsAccount->client->other_names ?? '' }} {{ $row->savingsAccount->account_number ?? 'N/A' }} {{ number_format($row->old_balance, 5) }} {{ number_format($row->interest_amount, 5) }} {{ number_format($row->new_balance, 5) }} {{ $row->rate }} {{ ucfirst($row->frequency) }} {{ \Carbon\Carbon::parse($row->calculated_on)->format('d M Y') }}
No interest history found.
{{ $history->appends(request()->all())->links('pagination::bootstrap-4') }}
@endsection @section('scripts') @endsection