{!! html()->label('Aide','type_aide') !!} {!! html()->select('type_aide',App\Models\MyApp::TYPES_AIDES_COMMISSIONS,null)->placeholder('Non défini') ->attributes([($mode!="create"?'disabled':''),'class' => 'form-control','id' => 'select_aide']) !!}
{!! html()->label( "Commission",'date_commission') !!}
{!! html()->text('date_commission', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label('Taux de Handicap','taux_reconnu',) !!} {!! html()->select('taux_reconnu_aph', $liste_taux_handicap,isset($allocataire_commission->taux_reconnu)?$allocataire_commission->taux_reconnu:null) ->placeholder("A définir") ->attributes([($mode=="show")?'disabled':'', 'class' => 'form-control']) !!}
{!! html()->label('Niveau GIR','taux_reconnu',) !!} {!! html()->select('taux_reconnu_agd', $liste_niveau_GIR,isset($allocataire_commission->taux_reconnu)?$allocataire_commission->taux_reconnu:null) ->placeholder("A définir") ->attributes([($mode=="show")?'disabled':'', 'class' => 'form-control']) !!}
{!! html()->label( 'Avis','avis') !!} {!! html()->select('avis',App\Models\MyAPP::COMMISSION_AVIS,null) ->placeholder('A définir') ->attributes([($mode=="show")?'disabled':'','class' => 'form-control']) !!}
{!! html()->label( "Ouverture des droits",'date_ouverture') !!}
@if(isset($allocataire_commission->DateOuverture)) {!! html()->text('date_ouverture',$allocataire_commission->DateOuverture) ->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!} @else {!! html()->text('date_ouverture', (isset($allocataire_droit->DateOuverture))?$allocataire_droit->DateOuverture:null) ->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!} @endif
{!! html()->label( "Fermeture des droits",'date_fermeture') !!}
{!! html()->text('date_fermeture', (isset($allocataire_droit->DateFermeture))?$allocataire_droit->DateFermeture:null) ->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
@if($mode=="edit")
{!! html()->label( "Mise à jour du droit et Taux (GIR ou Handicap)",'avec_maj_droit') !!} @if($allocataire_droit ) @else
Droit ouvert
@endif
@endif
{!! html()->label( 'Observations','observations') !!} {!! html()->textarea('observations', null) ->placeholder('') ->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'4']) !!}
Droit en cours
@if($allocataire_droit)
{!! html()->label( "Date demande",'droit_date_demande') !!} {!! html()->text('droit_date_demande', $allocataire_droit->DateDemande)->placeholder('')->attributes(['disabled','class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label( "Date d'ouverture",'droit_date_ouverture') !!} {!! html()->text('droit_date_ouverture', $allocataire_droit->DateOuverture)->placeholder('')->attributes(['disabled','class' => 'form-control','style' => 'text-align:center']) !!}
{!! html()->label( "Date de Fermeture",'_droit_date_fermeture') !!} {!! html()->text('_droit_date_fermeture', $allocataire_droit->DateFermeture)->placeholder('')->attributes(['disabled','class' => 'form-control','style' => 'text-align:center']) !!}
@endif @if($allocataire_commission)
Taux en cours
@if( $allocataire_commission->type_aide=="APH") {!! html()->label( "Taux de Handicap",'tx_handicap_aph') !!} {!! html()->text('tx_handicap_aph',$allocataire->tx_handicap_aph)->attributes(['disabled','class' => 'form-control','style' => 'text-align:center']) !!} @endif @if( $allocataire_commission->type_aide=="AGD") {!! html()->label( "Niveau GIR (Med)",'grp_gir_agd') !!} {!! html()->text('grp_gir_agd', $allocataire->getLastEvaluationValue($allocataire_commission->type_aide,"MED","GIR")) ->attributes(['disabled','class' => 'form-control','style' => 'text-align:center']) !!} @endif
@endif
@if($mode=="show") @if($user->hasRole("ADMINISTRATEUR") || $user->can("AEQ_MAJ")) @if($mode_frame) Modifier @else Modifier @endif @endif @if($mode_frame) Supprimer @else {{ html()->form('DELETE', url('/allocataires_commissions/'. $allocataire_commission->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