{{ $i }} |
{{ $credit->id_pret }} |
{{ App\Lib\Format::number($credit->mtt_capital) }} |
{{ key_exists($credit->id_pret, $remboursements) ?
(new DateTime(($remboursements[$credit->id_pret])->date_octroi))->format(config('myahs.date_format')) : '' }}
|
@if(key_exists($credit->id_pret, $echeances))
@php $echeance = $echeances[$credit->id_pret]; @endphp
{{ !empty($echeance) ? (new DateTime($echeance))->format(config('myahs.date_format')) : '' }}
@endif
|
{{ App\Lib\Format::number($encours) }} |
@if($encours == 0 && $retard == 0)
Echus
@endif
@if($encours > 0 && $retard == 0)
Normal
@endif
@if($encours > 0 && $retard == 1)
Retard
@endif
|
|
@endforeach
@else