@extends('layouts.dashboard') @section('css') @endsection @section('sub-header') {{ __($title) .' - '. $hospitalitySector->getStudyName() . ' - ' . $hospitalitySector->getPropertyName() }} @endsection @section('content')
@if (session('warning'))
  • {{ session('warning') }}
@endif
@php $originalDates = $dates; @endphp @foreach(getIntervalFormatted() as $intervalName=>$intervalNameFormatted) @php $dates = sumIntervalsIndexes($originalDates , $intervalName , $hospitalitySector->financialYearStartMonth(),$dateIndexWithDate); $dates = $hospitalitySector->convertArrayOfStringDatesToStringDatesAndDateIndex($dates,$dateIndexWithDate,$dateWithDateIndex); @endphp
@php $index = 1 ; @endphp @foreach($loanDates as $date ) @php $index++; @endphp @endforeach @if(count($loanDates)) @endif
{{__("Payment No.")}} {{__("Date")}} {{__("Begining Balance")}} {{__("Schedule Payment")}} {{__("Interest Amount")}} {{__("Principle Amount")}} {{__("End Balance")}}
{{ $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) }}
@endforeach
@endsection @section('js') @endsection