@extends('layouts.app') @section('content')
Calendrier de remboursement
@php $retard = null; @endphp
@php $i = 0; @endphp @foreach ($echeanciers as $echeancier) @php $i++; $soldeDebut = key_exists($echeancier->date_oper, $soldeInitial) ? $soldeInitial[$echeancier->date_oper] : 0; $soldeFinal = key_exists($echeancier->date_oper, $cumul_remb) ? $toalRemboursement - $cumul_remb[$echeancier->date_oper] : 0; @endphp @endforeach
Date Solde initial Capital Intérêt Mensualité Solde final
{{(new DateTime($echeancier->date_oper))->format('d/m/Y')}} {{ App\Lib\Format::number($soldeDebut) }} {{ App\Lib\Format::number($echeancier->capital) }} {{ App\Lib\Format::number($echeancier->interet) }} {{ App\Lib\Format::number($echeancier->capital+$echeancier->interet) }} {{ App\Lib\Format::number($soldeFinal) }}
{{ App\Lib\Format::number($cumul_capital) }} {{ App\Lib\Format::number($cumul_interet) }} {{ App\Lib\Format::number($cumul_capital+$cumul_interet) }}
@if(!empty($echeanciers)) @endif
@csrf
Calendrier de remboursement Voulez vous réellement valider ce calendrier de remboursement de prêt ? @endsection @section('script') @endsection