Cotisations MIB {{$year}}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session("success"))
{{session('success')}}
@elseif(session("error"))
{{session('error')}}
@endif @php $params=new \App\ParametrageMib(); $jour_fin=$params->getParametersByKeys('jour_fin',$boutique['id'],$year); @endphp
Client: {{$client->nom}} {{$client->prenom}}
Téléphone: {{$client->tel}}
Adresse: {{$client->adresse}}
@if(intVal(date('Y')) == intVal($year)) @endif @foreach($cotisations as $cotisation) @if(intVal(date('Y')) == intVal($year)) @endif @endforeach
ActionsMois Montant Status Référence de paiement Payé le Payé par
@if(!$cotisation->status) @endif {{$cotisation->mois}} {{number_format($cotisation->montant)}} FCFA @if(!$cotisation->status) @if($cotisation->numero_mois < date('m')) Impayé @elseif($cotisation->numero_mois == date('m')) @if($jour_fin >= date('d')) En attente @else Impayé @endif @else En attente @endif @else Payé @endif @if($cotisation->reference_paiement) {{$cotisation->reference_paiement}} @else - @endif {{ $cotisation->paid_at ?? '-' }} @if(isset($cotisation->validate_by) && $cotisation->validate_by!=null) {{$cotisation->user->last_name.' '.$cotisation->user->first_name}} @else - @endif