@extends('layouts.app') @section('content')
Calendrier de remboursement
@php $i = 0; @endphp @foreach ($echeanciers as $echeancier) @php $i++; @endphp @endforeach
# Date Solde initial Capital Intérêt Mensualité Solde final
{{(new DateTime($echeancier->date_oper))->format('d/m/Y')}} {{ number_format($echeancier->solde+$echeancier->capital,2,',',' ') }} {{ number_format($echeancier->capital,2,',',' ') }} {{ number_format($echeancier->interet,2,',',' ') }} {{ number_format(($echeancier->capital+$echeancier->interet),2,',',' ') }} {{ number_format($echeancier->solde,2,',',' ') }}
{{ number_format($cumul_capital,2,',',' ') }} {{ number_format($cumul_interet,2,',',' ') }} {{ number_format($cumul_capital+$cumul_interet,2,',',' ') }}
@if(!empty($echeanciers)) @endif
@endsection @section('script') @endsection