@extends('layouts.dashboard')
@section('css')
| {{__("Payment No.")}} | {{__("Date")}} | {{__("Begining Balance")}} | {{__("Schedule Payment")}} | {{__("Interest Amount")}} | {{__("Principle Amount")}} | {{__("End Balance")}} | @php $index = 1 ; @endphp @foreach($loanDates as $date )
|---|---|---|---|---|---|---|
| {{ $index }} | {{ $date }} | {{ number_format($fixedAtEndResult['beginning'][$date] ?? 0) }} | {{ number_format($fixedAtEndResult['schedulePayment'][$date] ?? 0) }} | {{ number_format($fixedAtEndResult['interestAmount'][$date] ?? 0) }} | {{ number_format($fixedAtEndResult['principleAmount'][$date] ?? 0) }} | {{ number_format($fixedAtEndResult['endBalance'][$date] ?? 0) }} |
| {{ __('Total') }} | - | - | - | {{ number_format($fixedAtEndResult['totals']['totalSchedulePayment'] ?? 0) }} | {{ number_format($fixedAtEndResult['totals']['totalPrincipleAmount'] ?? 0 )}} | {{ number_format($fixedAtEndResult['totals']['totalInterestAmount'] ?? 0) }} |