LES PANIERS MIB {{ $year }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('success'))
{{ session('success') }}
@elseif(session('error'))
{{ session('error') }}
@endif
   @if (intVal($year) == intVal(date('Y'))) Configurer vos paniers    Paramétrages    @endif Demande brunch    Statistiques Rapport Commandes Paniers   
@php $params = new \App\ParametrageMib(); $souscription = $params->getParametersByKeys('souscription', $boutique->id, $year); $devise = $params->getParametersByKeys('devise', $boutique->id, $year); $jour_fin = $params->getParametersByKeys('jour_fin', $boutique->id, $year); $fin_souscription = $params->getParametersByKeys( 'fin_souscription', $boutique->id, $year, ); $active_carte_brunch = $params->getParametersByKeys( 'active_carte_brunch', $boutique->id, $year, ); $can_have_carte_brunch = $params->getParametersByKeys( 'can_have_carte_brunch', $boutique->id, $year, ); $condition_integration = $params->getParametersByKeys( 'condition_integration', $boutique->id, $year, ); $mot_bienvenue = $params->getParametersByKeys('mot_bienvenue', $boutique->id, $year); $parainnage = $params->getParametersByKeys('parainnage', $boutique->id, $year); @endphp @php $cotisation=new \App\CotisationMib(); @endphp
@if (isset($souscription) && $souscription != null && isset($devise) && $devise != null && isset($jour_fin) && $jour_fin != null && isset($fin_souscription) && $fin_souscription != null && isset($parainnage) && $parainnage != null) @if (intVal(date('Y')) == intVal($year)) @endif
@php $i=1; @endphp @foreach ($clients as $client) @endforeach
Client Catégorie Mib Lot Mib Carte Brunch Statut Panier Mib {{ date('Y') }} Statut cotisation Bonus Portefeuille Commande Livraison Commentaire
parainer) data-parrain="{{ $client->parrain ? $client->parrain->last_name . ' ' . $client->parrain->first_name : '' }}" data-telp="{{ $client->parrain ? $client->parrain->telephone : '' }}" @endif>{{ $client->nom }} {{ $client->prenom }} {{ $client->categorieMib ? $client->categorieMib->name : '' }} {{ isset($client->lotMib) && $client->lotMib != null ? $client->lotMib->nom : '-' }} @if ($client->brunch) oui @else non @endif @if ($client->status_cotisation) actif @else fermé @endif @if ($client->end_cotisation) terminé @else en cours @endif    Impayer : {{ $cotisation->nombreImpayer($client->id, $boutique->id) }}    Payer : {{ $cotisation->nombrePayer($client->id) }}    Reste à payer : {{ $cotisation->nombreRestePayer($client->id) }} @if ($client->bonus) actif @else retiré @endif {{ $cotisation->sumPayer($client->id) }} XOF @if($client->user && $client->user->commandePanierMIB($year)->count() > 0) @else en attente @endif @if ($client->livrer) terminé @else en attente @endif {{ $client->commentaire }}
{{ $clients->links() }}
@else
Paramétrer votre compte Mib pour profiter des fonctionnalités de ce module. Pour cela , cliquer sur le bouton Paramètre ci-dessus.
@endif