@foreach ($parametres as $parametre) @if( (substr($parametre->ref,0,3)=='CAL') )
{!! html()->label($parametre->info,$parametre->ref)->attributes(['style'=>'']) !!} @if($mode!="show") {!! html()->text($parametre->ref, $parametre->value)->attributes(['placeholder' => 'Texte', 'class' => 'form-control' ]) !!} @else {!! html()->text($parametre->ref, $parametre->value)->attributes(['readonly', 'class' => 'form-control']) !!} @endif
@endif @if( (substr($parametre->ref,0,4)=='TAUX') )
{!! html()->label($parametre->ref, $parametre->info)->attributes(['style'=>'']) !!}
Exercice %CLR %CCPF %Total
{!! $annee !!} @if($mode!="show") {!! html()->text($parametre->ref."_clr_".$annee, $taux_clr)->attributes(['placeholder' => '%CLR', 'class' => 'form-control']) !!} @else {!! html()->text($parametre->ref."_clr_".$annee, $taux_clr)->attributes(['readonly', 'class' => 'form-control']) !!} @endif @if($mode!="show") {!! html()->text($parametre->ref."_ccpf_".$annee, $taux_ccpf)->attributes(['placeholder' => '%CCPF', 'class' => 'form-control']) !!} @else {!! html()->text($parametre->ref."_ccpf_".$annee, $taux_ccpf)->attributes(['readonly', 'class' => 'form-control']) !!} @endif {!! $taux_clr+$taux_ccpf !!} %
@endif @endforeach