@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
| Seul |
@forelse(($field['data']['bounds'] ?? []) as $bound)
@continue(! isset($bound['var']))
@php $boundEnum = FieldBounds::from($bound['var']) @endphp
{{ $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
|
@empty
RAV Minimum |
@endforelse
| 1 personne |
@forelse(($field['data']['bounds'] ?? []) as $b => $bound)
|
@empty
|
@endforelse
@foreach(range(1, 10) as $i)
| +{{ $i }} enfant{{ $i>1? 's':'' }} |
@forelse(($field['data']['bounds'] ?? []) as $b => $bound)
|
@empty
|
@endforelse
@endforeach
| Couple |
@forelse(($field['data']['bounds'] ?? []) as $bound)
@continue(! isset($bound['var']))
@php $boundEnum = FieldBounds::from($bound['var']) @endphp
{{ $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
|
@empty
RAV Minimum |
@endforelse
| 1 couple |
@forelse(($field['data']['bounds'] ?? []) as $b => $bound)
|
@empty
|
@endforelse
@foreach(range(1, 10) as $i)
| +{{ $i }} enfant{{ $i>1? 's':'' }} |
@forelse(($field['data']['bounds'] ?? []) as $b => $bound)
|
@empty
|
@endforelse
@endforeach