{!! html()->label( 'Nom','nom') !!}
{!! html()->text('nom', $allocataire->NomComplet)->placeholder("Nom")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( "Date",'date') !!}
{!! html()->text('date', isset($date)?$date:"") ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label( 'Statut','statut') !!} {!! html()->select('statut',App\Models\MyApp::INDUS_STATUT,($mode=="create")?'ENC':null) ->placeholder('A définir') ->attributes(['id' => 'groupe',($mode=="show")?'disabled':'','class' => 'form-control']) !!}
{!! html()->label( 'Mandat','mandat') !!} {!! html()->text('mandat', isset($mandat)?$mandat:"")->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label("Montant",'montant') !!}
{!! html()->text('montant', isset($montant)?$montant:"") ->attributes(['readonly','id' => 'montant','style' => 'font-weight:bold', 'class' => 'text-danger text-right form-control']) !!}
CFP
{!! html()->label( 'Observations','observations') !!} {!! html()->textarea('observations', isset($observations)?$observations:"")->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control', 'rows'=>'4']) !!}
@if($mode=="show") @if($reduction_mandat->statut!="CLO" && $reduction_mandat->statut!="TRA") @if($user->hasRole("ADMINISTRATEUR") || $user->can("INDUS_MAJ")) Modifier @endif @if($reduction_mandat->IsSupprimable) {{ html()->form('DELETE', url('/reductions_mandats/'. $reduction_mandat->id))->open() }} {{ html()->form()->close() }} @endif @endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif Retour