@extends('dashboard.Boutique.Boutique_template.layouts.grocery.app') @section('css') @include('dashboard.Boutique.Boutique_template.layouts.grocery.css_other_page') @endsection @section('content') @include('dashboard.Boutique.Boutique_template.layouts.grocery.banner', [ 'page_title' => 'PANIER MADE IN AFRICA (MIB) ' . $year, ]) @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); $parainnage = $params->getParametersByKeys('parainnage', $boutique->id, $year); @endphp
@if (\Illuminate\Support\Facades\Auth::check()) @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)
{{ $client->nom }} {{ $client->prenom }}
@if (intVal(date('Y')) == intVal($year))
Lien de parainnage
{{ route('boutique.mib.client', $boutique['nom_boutique']) }}?prn-mib={{ str_replace('user', 'prn-mib', \Illuminate\Support\Facades\Auth::user()->slug) }}
@endif @if (intVal(date('Y')) == intVal($year))
@endif @if (intVal(date('Y')) == intVal($year))
Portefeuille sungrocery: {{ $client->user->portefeuilleDevice($devise) ? $client->user->portefeuilleDevice($devise)->montant : 0 }} {{ $devise }}
@endif
Status Panier MIB {{ $year }}
@if ($client->status_cotisation && intVal(date('Y')) == intVal($year)) en cours @else fermé @endif
Status Cotisation MIB
@if (!$client->end_cotisation) en cours @else @if ($client->livrer) terminé - livrer @else terminé @endif @endif
Solde cotisation : {{ $sumPayer }} {{ $devise }}
Bonus Panier MIB : @if ($client->bonus) actif @else perdu @endif
@if (!$client->livrer)

Statistiques

Impayer: {{ $impayer }} mois       Payer: {{ $payer }} mois       Reste à Payer: {{ $resteApayer }} mois       Total Actif: {{ $sumPayer }} {{ $devise }}       Montant à payer : {{ $client->categorieMib->price ?? 0 }} {{ $devise }} /mois
@if (!$client->end_cotisation)
Sélectionner un mois puis cliquer sur payer ma cotisation pour éffectuer le paiement.

NB: Notez que des frais supplémentaires destinés à l'agrégateur de la solution de paiement s'ajouteront à la somme de base.

@endif @foreach ($client->cotisations as $cotisation)
@endforeach @if (!$client->end_cotisation) @if (intVal(date('Y')) == intVal($year))
@endif @else
Vous avez finalisé le paiement des cotisations de panier mib dues de l'année {{ $year }}.
@endif
@else
Votre panier a été livrer avec succès. Bonne et joyeuse fête à vous.
@if ($client->commentaire == '' || $client->commentaire == null)
@csrf
@endif
@endif

INFORMATIONS PERSONNELLES

@if (isset($client->nom_mandataire))

Mandataire

@endif

INFORMATION SUR L'OFFRE CHOISI

@if ($client->categorieMib)
@else Aucune information disponible @endif

INFORMATION SUR LE LOT CHOISI

@if ($client->lotMib)
@else Aucune information disponible @endif
@if ($client->categorieMib) @if ($client->brunch && isset($can_have_carte_brunch) && $client->categorieMib->price >= $can_have_carte_brunch)
@if (intVal(date('Y')) == intVal($year))
@endif @if (isset($demandeBrunchs) && $demandeBrunchs != null) @php($i = 1) @foreach ($demandeBrunchs as $demande) @endforeach
Demande Status Emise le
{{ $demande->demande }} @if ($demande->status == 'en_attente') en attente @elseif($demande->status == 'accepte') Validé @else Annuler @endif {{ $demande->created_at->format('d-m-y à H:i') }}
@endif
@endif @endif
@else
Compte Panier MIB non configurer. Veuillez patientez ...
@endif @else
Oups! Vous devez vous connecter ou créer un compte pour accéder à cette page.
@endif
@endsection @section('script') @endsection