@extends('layouts.dash') @section('title') Allocataires @stop @section('title_card') Allocataires @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

{{ $title }}

{!! html()->label('Ile','select_ile') !!} {!! html()->select('select_ile',App\Models\MyApp::ILES,isset($ile)?$ile:"")->placeholder('Toutes') ->attributes(['class' => 'form-control','id' => 'select_ile']) !!}
{!! html()->label('Aide','select_aide') !!} {!! html()->select('select_aide',App\Models\MyApp::TYPES_AIDES,isset($aide)?$aide:"")->placeholder('Toutes') ->attributes(['class' => 'form-control','id' => 'select_aide']) !!}
{!! html()->label('Activité','select_actif') !!} {!! html()->select('select_actif',["ACT"=>"Actifs","INA"=>"Inactifs"],isset($activite)?$activite:"")->placeholder('Toutes') ->attributes(['class' => 'form-control','id' => 'select_actif']) !!}
@if($user->can("ALO_AJO") || $user->HasRole("ADMINISTRATEUR"))
{!! html()->label( ' ','') !!}
{!! html()->a(url('allocataires/create'),"Ajouter un allocataire")->attributes(['class' => 'btn btn-success']) !!}
@endif
@foreach ($allocataires as $allocataire) @endforeach
Id Famille CPSWF Nom Naissance Village Conjoint Statut Conj. Enfants NbEnfants Ressources QF Statut Mise à jour
{!! $allocataire->id !!} {!! $allocataire->famille !!} {!! $allocataire->id_cpswf !!} {!! $allocataire->nom !!} {!! $allocataire->DateNaissance !!} {!! $allocataire->village !!} {!! $allocataire->ConjointNomComplet !!} {!! $allocataire->StatutConjoint !!} {!! $allocataire->enfants !!} {!! $allocataire->nb_enfants !!} {!! $allocataire->MontantRessources !!} {!! $allocataire->QF !!} {!! $allocataire->statut !!} {!! $allocataire->UpdatedAt !!}
@endsection @section('scripts') @endsection