Informations

Nom : {{ $customer->fullname }}
Contact : {{ $customer->contact }}
Email : {{ $customer->email ?? 'N/A' }}
Adresse : {{ $customer->address ?? 'N/A' }}
Ville : {{ $customer->city ?? 'N/A' }}
Pays : {{ $customer->country ?? 'N/A' }}
Total dépensé

{{ number_format($total_depense, 0, '.', ' ') }} GNF

Articles achetés

{{ $total_articles }}

Impayés du client
Montant total non payé

{{ number_format($unpaid, 0, ',', ' ') }} GNF

Meilleurs produits achetés

@if ($best_products->count() > 0) @foreach($best_products as $bp) @endforeach @else @endif
Article Code Boutique Quantité
{{ $bp->article->name }} {{ $bp->article->code }} {{ $bp->article->store->name }} {{ $bp->total_qty }}
Aucun element trouvé.

Historique des achats

@if ($history->count() > 0) @foreach($history as $vente) @endforeach @else @endif
Référence Date Article Boutique Total
{{ $vente->reference }} {{ \Carbon\Carbon::parse($vente->date)->format('d/m/Y') }} @foreach($vente->item_ventes as $item) {{ $item->article->name }}
@endforeach
@foreach($vente->item_ventes as $item) {{ $item->article->store->name }}
@endforeach
{{ number_format($vente->amountVente->amount_items ?? 0, 0, '.', ' ') }} GNF
Aucun élément trouvé.