@props([ 'field' => null, 'profileEnum' => null, ]) @php $fieldEnum = ProductFields::tryFrom($field['name']); @endphp
Paramétrer le taux d'endettement
@foreach(($field['data']['bounds'] ?? []) as $i => $bound)
@endforeach
@forelse(($field['data']['bounds'] ?? []) as $bound) @continue(! isset($bound['var'])) @php $boundEnum = FieldBounds::from($bound['var']) @endphp @empty @endforelse @forelse(($field['data']['bounds'] ?? []) as $b => $bound) @empty @endforelse @foreach(range(1, 10) as $i) @forelse(($field['data']['bounds'] ?? []) as $b => $bound) @empty @endforelse @endforeach
Seul {{ $boundEnum->label() }} @if($bound['lb']) {{ $bound['oplb'] === 'gt' ? 'Supérieur à' : 'Supérieur ou égal à' }} {{ $bound['lb'] }} @endif @if($bound['ub']) {{ $bound['opub'] === 'lt' ? 'Inférieur à' : 'Inférieur ou égal à' }} {{ $bound['ub'] }} @endif RAV Minimum
1 personne
+{{ $i }} enfant{{ $i>1? 's':'' }}

@forelse(($field['data']['bounds'] ?? []) as $bound) @continue(! isset($bound['var'])) @php $boundEnum = FieldBounds::from($bound['var']) @endphp @empty @endforelse @forelse(($field['data']['bounds'] ?? []) as $b => $bound) @empty @endforelse @foreach(range(1, 10) as $i) @forelse(($field['data']['bounds'] ?? []) as $b => $bound) @empty @endforelse @endforeach
Couple {{ $boundEnum->label() }} @if($bound['lb']) {{ $bound['oplb'] === 'gt' ? 'Supérieur à' : 'Supérieur ou égal à' }} {{ $bound['lb'] }}% @endif @if($bound['ub']) {{ $bound['opub'] === 'lt' ? 'Inférieur à' : 'Inférieur ou égal à' }} {{ $bound['ub'] }}% @endif RAV Minimum
1 couple
+{{ $i }} enfant{{ $i>1? 's':'' }}