@props([ 'calculator' => null, 'cols' => [ 'bank' => 'Banque', 'product' => 'Produit', 'type' => 'Type de crédit', ], 'resultCol' => 'Résultat', 'resultType' => 'float', 'results' => [], ]) @if($results)
| $key === 'bank'])>{{ $col }} | @endforeach @if($calculator === 'loanAmountCalculator')Curseurs | @endif @if($resultCol){{ $resultCol }} | @endif|
|---|---|---|---|
| $key === 'bank'])>
@if($key === 'bank')
|
@endforeach
@if($calculator === 'loanAmountCalculator')
@lang('Duration') mois
|
@endif
@if($resultCol)
@if($resultType === 'float')
@cf(data_get($result, 'result')) | @else{{ data_get($result, 'result') }} | @endif @endif