@extends('layouts.dash') @section('title') Bénéficiares CPSWF @stop @section('title_card') @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

Détail de la recherche

@if($t_info["id"])
{!! html()->label( 'N°','id') !!} {!! html()->text('id', $t_info["id"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Nom','nom') !!} {!! html()->text('nom', $t_info["nom"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Nom de jeune fille','nom_jf') !!} {!! html()->text('nom_jf', $t_info["nom_jf"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Prénom','prenom') !!} {!! html()->text('prenom', $t_info["prenom"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Date de naissance','date_naissance') !!} {!! html()->text('date_naissance', $t_info["date_naissance"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Nb enfants à charge','nb_enfants_charge') !!} {!! html()->text('nb_enfants_charge', $t_info["nb_enfants_charge"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Statut','statut') !!} {!! html()->text('statut', $t_info["statut"])->attributes(['disabled', 'class' => 'form-control']) !!}

Conjoint

@if(!App\Models\MyApp::hasSIPREDroit("champ_conjoint"))
Accès non autorisé
@else
{!! html()->label( 'Nom conjoint','conjoint_nom') !!} {!! html()->text('conjoint_nom', $t_info["conjoint_nom"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Nom de jeune fille conjoint','nom_jf') !!} {!! html()->text('nom_jf', $t_info["nom_jf"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Prénom conjoint','conjoint_prenom') !!} {!! html()->text('conjoint_prenom', $t_info["conjoint_prenom"])->attributes(['disabled', 'class' => 'form-control']) !!}
{!! html()->label( 'Statut conjoint','conjoint_statut') !!} {!! html()->text('conjoint_statut', $t_info["conjoint_statut"])->attributes(['disabled', 'class' => 'form-control']) !!}
@endif
{!! html()->label( 'Salaires','salaires') !!} @if(!App\Models\MyApp::hasSIPREDroit("montant_salaires"))
Accès non autorisé
@else @php $k=0; @endphp @foreach($t_info["salaires"] as $salaire) @php $t=explode(";",$salaire); $k++; @endphp @if($t[3] && $k=count($t_info["salaires"]) ) @endif @endforeach @if(!$t_info["salaires"]) @endif
Mois Employeur Montant
{{ $t[0] }} {{ $t[1] }} {{ $t[2] }}
Débauché le {{ $t[3] }}
Aucun salaire versée ces {{ \App\Models\MyApp::CPSWF_NBMOIS_SALAIRES }} derniers mois
@endif
{!! html()->label( 'Retraites','retraite') !!} @if(!App\Models\MyApp::hasSIPREDroit("montant_retraite"))
Accès non autorisé
@else @foreach($t_info["retraites"] as $retraite) @php $t=explode(";",$retraite);@endphp @endforeach @if(!$t_info["retraites"]) @endif
Mois Montant
{{ $t[0] }} {{ $t[1] }}
Aucune retraite versée ces {{ \App\Models\MyApp::CPSWF_NBMOIS_SALAIRES }} derniers mois
@endif
{!! html()->label( 'Allocation','allocation') !!} @if(!App\Models\MyApp::hasSIPREDroit("montant_alloc"))
Accès non autorisé
@else @foreach($t_info["allocations"] as $allocation) @php $t=explode(";",$allocation); @endphp @endforeach @if(!$t_info["allocations"]) @endif
Mois Montant
{{ $t[0] }} {{ $t[1] }}
Aucune allocation versée ces {{ \App\Models\MyApp::CPSWF_NBMOIS_SALAIRES }} derniers mois
@endif
@else
Aucun bénéficiaire CPSWF trouvé
Retour @endif
@endsection @section('scripts') @endsection