{!! html()->label( "Nom",'nom') !!} {!! html()->text('nom', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Compte','compte') !!} {!! html()->text('compte', !isset($fournisseur->compte)?$new_compta:null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Adresse','adresse') !!} {!! html()->textarea('adresse', null) ->placeholder('') ->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'2']) !!}
{!! html()->label( 'Code postal','code_postal') !!} {!! html()->text('code_postal', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Boîte postal','bp') !!} {!! html()->text('bp', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Commune','commune') !!} {!! html()->text('commune', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Village','id_village') !!}
{!! html()->select('id_village')->options([]) ->attributes([($mode=="show"?'disabled':''),'id'=>'id_village','class' => 'select2 form-control']) !!}
{!! html()->label( 'Email','email') !!} {!! html()->email('email', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( "Contact",'contact') !!} {!! html()->text('contact', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Téléphone','telephone') !!} {!! html()->text('telephone', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label('Banque :' ,'id_banque') !!} {!! html()->select('id_banque',$liste_banques,null)->placeholder('A définir')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('IBAN', 'IBAN') !!}
{!! html()->label( 'Pays','IBAN_pays')->attributes(['style'=>'font-weight:normal;font-size:0.9em']) !!} {!! html()->text('IBAN_pays', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Clé IBAN','IBAN_cle')->attributes(['style'=>'font-weight:normal;font-size:0.9em']) !!} {!! html()->text('IBAN_cle', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Banque','IBAN_banque')->attributes(['style'=>'font-weight:normal;font-size:0.9em']) !!} {!! html()->text('IBAN_banque', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label('Guichet','IBAN_guichet')->attributes(['style'=>'font-weight:normal;font-size:0.9em']) !!} {!! html()->text('IBAN_guichet', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Numéro de compte','IBAN_compte')->attributes(['style'=>'font-weight:normal;font-size:0.9em']) !!} {!! html()->text('IBAN_compte',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Clé RIb','IBAN_clerib')->attributes(['style'=>'font-weight:normal;font-size:0.9em']) !!} {!! html()->text('IBAN_clerib', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
@if($mode=="show") @if($user->hasRole("ADMINISTRATEUR") || $user->can("FOU_MAJ")) Modifier @endif @if($fournisseur->canDelete) {{ html()->form('DELETE', url('/fournisseurs/'. $fournisseur->id))->open() }} {{ html()->form()->close() }} @endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif Retour