Produits
Liste des produits disponibles
@if ($errors->any())
@endif
@if (session('success'))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ session('success') }}
@elseif(session('error'))
{{ session('error') }}
@endif
Abonnement
@if ($abonnement == null || $abonnement->remaining_publication <= 0) Nombre de produit à ajouter : 0 @else Nombre de produit à ajouter : {{ isset($abonnement->remaining_publication) && $abonnement->remaining_publication <= 0 ? 0 : $abonnement->remaining_publication }} @endif {{-- @if (isset($abonnement) && $abonnement !== null) Nombre de produit à ajouter : {{ isset($abonnement->remaining_publication) && $abonnement->remaining_publication <= 0 ? 0 : $abonnement->remaining_publication }} @else Nombre de produit à ajouter : Données d'abonnement non disponibles @endif --}}N° | ref | Catégorie | Image | Intitulé | Prix en XOF | Gain | Bénéfice par produit | Quantité | Ajouté dans |
Action
|
---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index + 1 }} | {{ $item->reference }} | @if ($item->categorie) {{ $item->categorie->intitule }} @else Catégorie introuvable @endif |
@if (isset($item) && $item->file != null)
|
{{ $item->name }} | {{ $item->price }} XOF | @if ($producerPercentage == null) 0 % @else {{ $producerPercentage->percentage }} % @endif | @if ($producerPercentage == null) 0 XOF @else {{ $item->price * ($producerPercentage->percentage / 100) }} XOF @endif | {{ $item->quantity }} | {{ count(array_unique(array_column(is_array($item->articles) ? $item->articles : [], 'boutique_slug'))) }} boutique(s) |