@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 }}

@if($mode=="")
@if($user->can("ALO_AJO") || $user->HasRole("ADMINISTRATEUR")) @endif
@endif
@if(($mode=="open") || ($mode=="result"))
@include("tiers.allocataires.create_prep")
@endif @if($mode=="")
{!! 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']) !!}
@foreach ($allocataires as $allocataire) @endforeach
Id Famille CPSWF Nom Naissance Village Conjoint Statut Conj. Enfants NbEnfants Ressources QF Statut Mise à jour
{!! $allocataire->IdPAD !!} @if($allocataire->controle) CTL @endif @if($allocataire->id_famille) {!! $allocataire->IdPADFamille !!} @else Aucun @endif @if($allocataire->hasAide('AAE')&&(!$allocataire->IsTitulaire)) Non titulaire avec
Aide à l'enfant
@endif
{!! $allocataire->id_cpswf !!} {!! $allocataire->nom_complet2 !!} @if ($allocataire->statut_dossier!="ACT") Inactif @endif {!! $allocataire->date_naissance !!} {!! $allocataire->VillageNom."-".$allocataire->Ile !!} {!! $allocataire->ConjointNomComplet !!} {!! $allocataire->StatutConjoint !!} {!! $allocataire->getEnfantsListe() !!} {!! $allocataire->getNbEnfantsLESS() !!} {!! $allocataire->MontantRessources !!} {!! $allocataire->QF !!} {!! $allocataire->statut !!} {!! $allocataire->UpdatedAt !!}
@endif
@endsection @section('scripts') @if($mode=="") @endif @endsection