{!! html()->label( 'Type de Droit','type') !!} {!! html()->select('type',$types_aides,null)->placeholder('A définir')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label( "Date de demande",'date_demande') !!}
{!! html()->text('date_demande', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label( 'Motif du Refus','motif_refus') !!} {!! html()->select('motif_refus',$motifs_refus,null) ->placeholder('A définir') ->attributes(['id' => 'statut',($mode=="show")?'disabled':'','class' => 'form-control']) !!}
{!! html()->label( "Date d'ouverture",'date_ouverture') !!}
{!! html()->text('date_ouverture', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label( "Date de fermeture",'date_fermeture') !!}
{!! html()->text('date_fermeture', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label( 'Motif fermeture','motif_fermeture') !!} {!! html()->select('motif_fermeture',$motifs_fermeture,null) ->placeholder('A définir') ->attributes(['id' => 'statut',($mode=="show")?'disabled':'','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("ADR_MAJ")) @if($mode_frame) Modifier @else Modifier @endif @endif @if($mode_frame) Supprimer @else {{ html()->form('DELETE', url('/allocataires_droits/'. $allocataire_droit->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