@if($mode=="show")
{!! html()->label('Employeur','sonum') !!} {!! html()->text('employeur', $med->NomEmployeur." ".$med->NomEmployeur)->attributes(['disabled','class' => 'form-control']) !!}
@endif
{!! html()->label('Date d\'envoi','date_envoi') !!}
{!! html()->text('date_envoi', date('j/m/Y'))->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Motif','motif') !!} {!! html()->select('motif',$listes_med,null)->placeholder('A définir') ->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Mois manquants','nbmois') !!} {!! html()->text('nbmois', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
Période
{!! html()->label('Début','periode_deb') !!}
{!! html()->text('periode_deb', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Fin','periode_fin') !!}
{!! html()->text('periode_fin', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Cotisations','cotisations') !!} {!! html()->text('cotisations', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Majorations','majorations') !!} {!! html()->text('majorations', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Total de la dette','total') !!}
{!! html()->text('total', isset($med)?$med->majorations+$med->cotisations:null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'text-danger form-control']) !!}
{!! html()->label('Observations','obs') !!} {!! html()->textarea('obs', null)->placeholder('Observations')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control', 'rows'=>'3']) !!}
@if($mode!="show") {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @else Imprimer @if($user->can("MED_SUP") || $user->HasRole("ADMINISTRATEUR")) {{ html()->form('DELETE', url('med/' . $med->id))->attributes(['class'=>''])->open() }}    {{ html()->form()->close() }} @endif @if($user->can("MED_MAJ") || $user->HasRole("ADMINISTRATEUR")) Modifier @endif @endif  Retour