Date Range wise Loan EMI Collection Report
{{-- FILTER FORM --}}
{{-- REPORT TABLE --}}
| Member Name |
Collection Date |
Total Principal |
Total Interest |
EMI |
@forelse($data as $row)
| {{ $row->member_name }} |
{{ \Carbon\Carbon::parse($row->collection_date)->format('d-M-Y') }} |
₹ {{ number_format(round($row->total_principal),2) }} |
₹ {{ number_format(round($row->total_interest),2) }} |
₹ {{ number_format(round($row->total_collected),2) }} |
@empty
| No Records Found |
@endforelse
@if(count($data))
| Grand Total: |
|
{{ round($data->sum('total_principal')) }} |
{{ round($data->sum('total_interest')) }} |
{{ round($data->sum('total_collected')) }} |
@endif