@if($mode!="create")
{!! html()->text('id',$enfant->IdPAD)->attributes(['id'=>'id','readonly', 'class' => 'form-control']) !!}
@endif @if($mode!="show")
Statut Dossier
{!! html()->select('statut_dossier',$ben_statuts_dossier,null)->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
@else
{!! html()->text('statut_dossier',$enfant->StatutDossierLibelle) ->attributes(['id'=>'id','readonly', 'class' => (($enfant->statut_dossier=="ACT")?"form-control bg-success":"form-control bg-danger"), 'style'=>'text-align:center']) !!}
@endif
{!! $enfant->getInfoDetailAides() !!}
@if($mode=="show")
C: {{ $enfant->CreatedAtDay }}
M: {{ $enfant->UpdatedAtDay }}
@endif
{!! html()->label( "Nom de naissance",'nom_naissance') !!} {!! html()->text('nom_naissance', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Prenom','prenom') !!} {!! html()->text('prenom', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Sexe','sexe') !!} {!! html()->select('sexe', App\Models\MyApp::SEXE ,null) ->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label( 'Date de naissance','date_naissance') !!}
{!! html()->text('date_naissance', null) ->placeholder('') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label( 'Lieu de naissance','lieunaiss') !!} {!! html()->text('lieunaiss', null) ->placeholder('Lieu de naissance') ->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
@if(($mode!="create")&&($enfant->statut=="DCD"))
{!! html()->label( 'date de décès','date_deces') !!}
{!! html()->text('date_deces', null) ->placeholder('') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
@endif
@if(($mode!="create")&&($enfant->Age<=1))
@if(!$enfant->id_versement_pan)
{!! html()->checkbox('force_pan', null)->attributes([($mode=="show"?'disabled':''),'id' => 'force_pan', 'class' => 'custom-control-input']) !!}
@else
{!! html()->label( 'Versement Prime à la naissance','id_versement_pan') !!} {!! html()->text('id_versement_pan', null)->attributes(['disabled', 'class' => 'form-control']) !!}
@endif
@endif
{!! html()->label( 'Statut','statut') !!} {!! html()->select('statut',$ben_statuts,null) ->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label( 'Certificat','certificat_enfant') !!} {!! html()->select('certificat_enfant',$liste_certificats,null) ->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Observations','obs',) !!} {!! html()->textarea('obs', null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'3']) !!}