@props([ 'label' => 'Mois', 'rows' => [], 'idx' => null ]) @php $attributes = $attributes->class([ 'table', ])->merge([ // ]); @endphp
| {{ $label }} | Intérêts | Amortissement | Capital restant dû | Assurance | Mensualité |
|---|---|---|---|---|---|
| {{ $i+1 }} | @dcf($row['interestAmount']) | @dcf($row['capitalAmount']) | @dcf($row['remaining']) | @dcf($row['insurance']) | @dcf($row['cost']) |
| @if($last) Cumul @else Année {{ floor($i / 11) }} @endif | @dcf($tin) | @if($last) @dcf(round($tca)) @else @dcf($tca) @endif | @dcf($row['remaining']) | @dcf($tis) | @dcf($tco) |