LES COTISATIONS DE PANIER MIB

@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 @php($i=1) @foreach($cotisations as $cotisation) @if(intVal(date('Y')) == intVal($year)) @endif @endforeach
Mois Status Montant Reference de paiement Payé le Payé par
@if(!$cotisation->status) @endif {{$cotisation->mois}} {{$cotisation->montant}} @if(!$cotisation->status) @if($cotisation->numero_mois < date('m')) impayer @elseif($cotisation->numero_mois == date('m')) @if($jour_fin >= date('d')) en attente de paiement @else impayer @endif @else en attente de paiement @endif @else payer @endif {{$cotisation->reference_paiement}} {{ $cotisation->paid_at}} @if(isset($cotisation->validate_by) && $cotisation->validate_by!=null) {{$cotisation->user->last_name.' '.$cotisation->user->first_name}} @endif