@extends('layouts.dash') @section('title') Paramêtres @stop @section('content') @if (Session::has('message'))
{!! Session::get('message') !!}
@endif @if ($errors) @foreach ($errors->all() as $error)
{!! $error !!}
@endforeach @endif @if (Session::has('success'))
{!! \Session::get('success') !!}
@endif

Partage des données

{{ html()->form('POST', url('share_data'))->open() }}
{!! html()->checkbox('active', isset($t_param['active'])) ->attributes([(isset($t_param['active'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label('Activer le partage','actif')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}

Statut des bénéficiaires

{!! html()->checkbox('benef_allocations', isset($t_param['benef_allocations'])) ->attributes([(isset($t_param['benef_allocations'])?'checked':''),'id'=>'bt_benef_all','class' => 'form-check-input']) !!} {!! html()->label('Bénéficiaires des Allocations des 3 derniers mois','benef_allocations')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('benef_retraites', isset($t_param['benef_retraites'])) ->attributes([(isset($t_param['benef_retraites'])?'checked':''),'id'=>'bt_benef_ret','class' => 'form-check-input']) !!} {!! html()->label('Bénéficiaires des Retraites des 3 derniers mois','benef_retraites')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('benef_tous', isset($t_param['benef_tous'])) ->attributes([(isset($t_param['benef_tous'])?'checked':''),'id'=>'bt_benef_tous','class' => 'form-check-input']) !!} {!! html()->label('Les Bénéficiaires non allocataires (pour la recherche de bourse, continuité...)','benef_tous')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}

Champs partagés

{!! html()->checkbox('champ_nom', isset($t_param['champ_nom'])) ->attributes(['checked','disabled','class' => 'form-check-input']) !!} {!! html()->label('Nom + Prenom + Nom de naissance + Statut','champ_nom')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('champ_conjoint', isset($t_param['champ_conjoint'])) ->attributes([(isset($t_param['champ_conjoint'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label('Conjoint : Nom + Prenom + Nom de naissance + Statut','champ_conjoint')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('champ_naissance', isset($t_param['champ_naissance'])) ->attributes([(isset($t_param['champ_naissance'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label('Naissance : Date, lieu, date décès','benef_aides')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('nb_enfants_alloc', isset($t_param['nb_enfants_alloc'])) ->attributes([(isset($t_param['nb_enfants_alloc'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label("Nombre d'enfants à charge",'nb_enfants_alloc')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('montant_retraite', isset($t_param['montant_retraite'])) ->attributes([(isset($t_param['montant_retraite'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label('Montant retraite des 3 derniers mois','montant_retraite')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('montant_alloc', isset($t_param['montant_alloc'])) ->attributes([(isset($t_param['montant_alloc'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label('Montant allocations des 3 derniers mois','montant_alloc')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->checkbox('montant_salaires', isset($t_param['montant_salaires'])) ->attributes([(isset($t_param['montant_salaires'])?'checked':''),'class' => 'form-check-input']) !!} {!! html()->label('Montant Salaires (et employeurs) des 3 derniers mois','montant_salaires')->attributes(['class'=>'form-check-label','for'=>'flexCheckDefault']) !!}
{!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary','id'=>'btn_save']) !!}
{{ html()->form()->close() }}
@endsection @section('scripts0') @endsection @section('scripts') @endsection