{!! html()->label('COMPTE','compte') !!} {!! html()->text('compte', null)->attributes([($mode=="show"?'disabled':''),'placeholder' => 'numéro de compte', 'class' => 'form-control']) !!}
{!! html()->label('Désignation','libelle') !!} {!! html()->text('libelle', null)->attributes([($mode=="show"?'disabled':''),'placeholder' => 'Désignation du compte', 'class' => 'form-control text-uppercase']) !!}
{!! html()->label('Catégorie pour Bilan','categ_bilan') !!} {!! html()->select('categ_bilan',["A"=>"Actif","P"=>"Passif"],isset($plan_comptable->categ_bilan)?$plan_comptable->categ_bilan:"") ->placeholder("Choisissez une catégorie") ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Montant prévisionnel','previsionnel') !!} {!! html()->number('previsionnel', null)->attributes([($mode=="show"?'disabled':''),'placeholder' => '', 'class' => 'form-control']) !!}
{!! html()->checkbox('titre', '1', isset($plan_comptable->titre)?$plan_comptable->titre:0) ->attributes([($mode=="show"?'disabled':''),'id' => 'box_titre', 'class' => 'custom-control-input']) !!}
{!! html()->checkbox('actif', '1', isset($plan_comptable->actif)?$plan_comptable->actif:1) ->attributes([($mode=="show"?'disabled':''),'id' => 'box_actif', 'class' => 'custom-control-input']) !!}
@if($mode!="show") {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @else @if(($user->hasRole("ADMINISTRATEUR") || $user->can("PLA_SUP")) && (!$plan_comptable->HasLink) ) {{ html()->form('DELETE', url('/plan_comptable/' . $plan_comptable->id))->open() }} {{ html()->form()->close() }} @endif @if($user->hasRole("ADMINISTRATEUR") || $user->can("PLA_MAJ")) Modifier @endif @endif Retour