@props([ 'simulation' => null, ]) @if($simulation)
| @lang('Type') | @lang('CRD') | @lang('Monthly') | @lang('Status') |
|---|---|---|---|
| {{ $debt['type_name'] ?? $debt['type'] ?? '-' }} | @cf($debt['amount'] ?? 0) | @cf($debt['monthly'] ?? 0) |
|
| @lang('Total repaid') | @cf(collect($simulation->debts_to_repay)->sum('amount')) | @cf(collect($simulation->debts_to_repay)->sum('monthly')) |
| @lang('Type') | @lang('CRD') | @lang('Monthly') | @lang('Status') |
|---|---|---|---|
| {{ $debt['type_name'] ?? $debt['type'] ?? '-' }} | @cf($debt['amount'] ?? 0) | @cf($debt['monthly'] ?? 0) |
|
| @lang('Total kept') | @cf(collect($simulation->debts_as_charges)->sum('amount')) | @cf(collect($simulation->debts_as_charges)->sum('monthly')) |