{!! html()->label( "Date de saisie",'date_saisie') !!}
{!! html()->text('date_saisie', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label('Besoin','besoin') !!} {!! html()->select('besoin',App\Models\MyApp::getZBase("HUM_BESOINS"),null)->placeholder('Non défini') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','id' => 'select_aide']) !!}
{!! html()->label("Statut",'prevoir') !!} {!! html()->select('prevoir',[1=>"A prévoir",0=>"En-cours"],null)->placeholder('Non défini') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','id' => 'select_aide']) !!}
{!! html()->label("Inscription CDL",'cdl') !!} {!! html()->checkbox('cdl',null)->attributes([($mode=="show"?'disabled':''),'style'=>'margin-left:45px;width: 30px; height: 30px;','class' => 'form-control']) !!}
{!! html()->label("Nom de l'Aidant",'aidant_nom',) !!} {!! html()->text('aidant_nom',null)->attributes([($mode=="show")?'disabled':'', 'id'=>'aidant_nom','class' => 'form-control']) !!}
{!! html()->label("Prénom de l'Aidant",'aidant_prenom',) !!} {!! html()->text('aidant_prenom',null)->attributes([($mode=="show")?'disabled':'', 'id'=>'aidant_prenom','class' => 'form-control']) !!}
@if(($mode!="show"))
{!! html()->label("Recherche",'id_sigal',) !!} {!! html()->text('id_sigal',null)->attributes([($mode=="show")?'disabled':'','id'=>'id_sigal', 'class' => 'text-primary form-control']) !!}
@endif
{!! html()->label( "Date de naissance",'date_naissance') !!}
{!! html()->text('date_naissance', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'id'=>'date_naissance','class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label("Id de l'Aidant",'id_aidant',) !!} {!! html()->text('id_aidant',null)->attributes([($mode=="show")?'disabled':'','id'=>'id_aidant', 'class' => 'form-control']) !!}
{!! html()->label("Modalité de l'aide",'modalite') !!} {!! html()->select('modalite',App\Models\MyApp::getZBase("HUM_BESOINS_MODALITES"),null) ->placeholder('Non définie') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','id' => 'select_i']) !!}
{!! html()->label("Rythmes d'intervention",'rythme') !!} {!! html()->select('rythme',App\Models\MyApp::TYPES_BESOINS_RYTHMES,null)->placeholder('Non défini') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','id' => 'select_rythme']) !!}
{!! html()->label("Contrat Chantier de développemnt : ",'contrat') !!} {!! html()->checkbox('contrat',null)->attributes([($mode=="show"?'disabled':''),'style'=>'width: 30px; height: 30px;','class' => 'form-control']) !!}
{!! html()->label( 'Observations','observations') !!} {!! html()->textarea('observations', null)->placeholder('') ->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'2']) !!}
@if($mode=="show") @if($user->hasRole("ADMINISTRATEUR") || $user->can("AHU_MAJ")) @if($mode_frame) Modifier @else Modifier @endif @endif @if($mode_frame) Supprimer @else {{ html()->form('DELETE', url('/allocataires_humaines/'. $allocataire_humaine->id))->open() }} {{ html()->form()->close() }} @endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif @if(!$mode_frame) Retour @endif