{!! html()->label( 'Conjoint','nom_conjoint') !!} {!! html()->hidden('conjoint', null)->attributes(['id' => 'conjoint']) !!}
{!! isset($beneficiaire)?str_pad($beneficiaire->conjoint, 6, "0", STR_PAD_LEFT):'' !!}
{!! html()->text('nom_conjoint', isset($beneficiaire)?$beneficiaire->nom_conjoint:'') ->placeholder("Conjoint") ->attributes([($mode=="show"?'disabled':''), 'id'=>'nom_conjoint','class' => 'form-control']) !!}
{!! html()->label( "Nbr d'enfants",'nb_enf') !!} {!! html()->text('nb_enf', null)->placeholder("Nombre d'enfants")->attributes([($mode=="show"?'disabled':''), 'class' => 'text-right form-control']) !!}
{!! html()->label( "Nbr d'enfants total",'nb_enf_tot') !!} {!! html()->text('nb_enf_tot', null)->placeholder("Nombre d'enfants total")->attributes([($mode=="show"?'disabled':''), 'class' => 'text-right form-control']) !!}
@if(isset($beneficiaire))

Enfants

@foreach ($enfants as $enfant) @endforeach
Id Nom Prenom Date de naissance Age Sexe Certificat
{!! str_pad($enfant->id, 6, "0", STR_PAD_LEFT) !!} {!! $enfant->nom !!} {!! $enfant->prenom !!} {!! $enfant->datenais !!} {!! $enfant->Age !!} ans {!! $enfant->sexe !!} {!! $enfant->certif !!}
@if(($mode=="show")) @if($user->can("ENF_AJO") || $user->HasRole("ADMINISTRATEUR"))
@endif @endif @endif