{{ collect($module['insurance_types'])->map(fn($type) => InsuranceType::from($type)->label())->implode(', ') }} ⁃ {{ collect($module['project_types'])->map(fn($type) => ProjectTypesId::from($type)->label())->implode(', ') }}
@if($readyToLoad)
Tranches d'âge
@foreach($module['rates']['bounds']['age'] as $b => $bound)
@endforeach
@if($this->hasCreditAmountRatesBounds)
Tranches de montant
@foreach($module['rates']['bounds']['credit_amount'] ?? [] as $b => $bound)
@endforeach
@else
Tranches de durée
@foreach($module['rates']['bounds']['duration'] as $b => $bound)
@endforeach
@endif
Barème
@if($clientCount === 1) @else @endif
@foreach(collect($module['rates']['bounds']['duration'] ?? [])->sortBy('lb') as $duration)
{{ $duration['lb'] }} - {{ $duration['ub'] }} mois
@endforeach @foreach(collect($module['rates']['bounds']['credit_amount'] ?? [])->sortBy('lb') as $amount)
{{ $amount['lb'] }} - {{ $amount['ub'] }} €
@endforeach
@foreach(collect($module['rates']['bounds']['age'])->sortBy('lb') as $a => $age)
@if($age['lb'] == 0) < {{ $age['ub'] }} ans @elseif($age['ub'] == 0) > {{ $age['lb'] }} ans @else {{ $age['lb'] }} - {{ $age['ub'] }} ans @endif
@foreach(collect($module['rates']['bounds']['duration'] ?? $module['rates']['bounds']['credit_amount'] ?? []) ->sortBy('lb')->keys() as $d)
@foreach(range(0, $clientCount - 1) as $c) @endforeach
@endforeach
@endforeach
Conditions d'adhésion
    @foreach($this->available_conditions as $key => $input)
  • @endforeach
@foreach($selectedConditions as $key => $selected) @continue(! $selected)
@endforeach
Tranches d'âge
@foreach(($module['medical_req']['bounds']['age'] ?? []) as $b => $bound)
@endforeach
Formalités médicales
@foreach(collect($module['medical_req']['bounds']['age'] ?? [])->sortBy('lb') as $a => $age)
@if($age['lb'] == 0) < {{ $age['ub'] }} ans @elseif($age['ub'] == 0) > {{ $age['lb'] }} ans @else {{ $age['lb'] }} - {{ $age['ub'] }} ans @endif
@foreach(collect($module['medical_req']['bounds']['credit_amount'][$a] ?? []) as $b => $bound)
@endforeach
@foreach(collect($module['medical_req']['bounds']['credit_amount'][$a] ?? [])->keys() as $ca) @endforeach
@endforeach
Commentaires
@endif