{!! html()->label("Ressources de l'allocataire",'',) !!} @if($mode=="show") @endif @foreach($ressources as $ressource) @php $fini=($ressource->DateFinUS<=date('Y-m-d') && ($ressource->DateFin)) ; if(!isset($total)) $total=0; $style_montant="color:darkblue;font-weight:bold;"; if(!$fini) $total+=$ressource->montant; else $style_montant="color:grey;font-style:italic;"; @endphp @if($mode=="show") @endif @endforeach @if($mode=="show") @endif
Type Source Date de Fin Observations Montant
{{ $ressource->Type }} {{ $ressource->source }} {{ $ressource->DateFin }} {{ $ressource->observations }} {{ $ressource->montant }}
TOTAL au {{ date('d/m/Y') }} {{ isset($total)?$total:0 }}
{!! html()->label("Aides versées les ".App\Models\MyApp::RESSOURCE_AIDES_DELAY." derniers jours",'',) !!} @foreach($ressources_SITAS as $versement) @php if(!isset($total_SITAS)) $total_SITAS=0; $total_SITAS+=$versement->montant; @endphp @endforeach
Type Origine Date du versement Observations Montant
{{ $versement->NomAide }} {{ $versement->origine }} {{ $versement->date }} {{ $versement->observations }} {{ $versement->montant }}
TOTAL des Aides versées le mois précédent {{ isset($total_SITAS)?$total_SITAS:0 }}
@if(App\Models\MyApp::hasSIPREDroit("montant_salaires"))
{!! html()->label( 'Salaires CPSWF : ','montant_salaires_cpswf') !!} @if($allocataire->MontantSalaires) Est salarié pour la CPSWF (a bénéficié d'un salaire ces 3 derniers mois) @else Aucune @endif
@else
Accès non accordé par la CPSWF
@endif
@if(App\Models\MyApp::hasSIPREDroit("montant_retraite"))
{!! html()->label( 'Retraite CPSWF : ','montant_retraite_cpswf') !!} @if($allocataire->MontantRetraiteCPSWF) Bénéficie d'une Retraite CPSWF (a bénéficié d'une retraite ces 3 derniers mois) @else Aucune @endif
@else
Accès non accordé par la CPSWF
@endif
@if(App\Models\MyApp::hasSIPREDroit("montant_alloc"))
{!! html()->label( 'Allocations CPSWF : ','montant_allocations_cpswf') !!} @if($allocataire->MontantAllocations) Bénéficie d'une Allocation CPSWF (a bénéficié d'une allocation ces 3 derniers mois).
{!! html()->label( 'Enfants : ','enfants') !!} {!! $allocataire->getEnfantsAllocations(" ; ") !!} @else Aucune @endif
@else
Accès non accordé par la CPSWF
@endif