{!! html()->label('Mandat N°','idmandat') !!} {!! html()->text('idmandat', (isset($mandat)?$mandat->id:null)) ->attributes([(($frame)?'readonly':''), 'class' => 'form-control']) !!}
{!! html()->label('Compte Imputation','cpt_imp') !!} {!! html()->select('cpt_imp',$comptes,null) ->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Désignation','designation') !!} {!! html()->textarea('designation', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'2']) !!}
{!! html()->label('Type','type_imp') !!} {!! html()->select('type_imp',['CLR'=>'CLR','CPF' => 'CPF','ASE' => 'ASE','AVI' => 'AVI','CSR' => 'CSR'],null) ->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Montant','montant') !!} {!! html()->text('montant', null) ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Observations','obs') !!} {!! html()->textarea('obs', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'2']) !!}
@if($mode!="show") {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @else @if($imputation->IsModifiable && ($user->hasRole("ADMINISTRATEUR") || $user->can("IMP_MAJ"))) @if(!$frame) Modifier @endif @endif @endif @if(!$frame)  Retour @endif