Référence :
{{ $sale->reference }}
Date :
{{ Carbon\Carbon::parse($sale->date)->format('d/m/Y') }}
Vendeur :
{{ $sale->user->name ?? '-' }}
Statut :
@if($sale->amountSale->remaining_amount == 0)
Payé
@elseif($sale->amountSale->payments_amount == 0)
Non payé
@else
Partiel
@endif
Nom :
{{ $sale->client->fullname ?? '-' }}
Téléphone :
{{ $sale->client->contact ?? '-' }} / {{ $sale->client->phone ?? '-' }}
Adresse :
{{ $sale->client->address ?? '-' }} / {{ $sale->client->city ?? '-' }} / {{ $sale->client->country ?? '-' }}
Adresse :
{{ $sale->client->address ?? '-' }}
Montant Total :
{{ number_format($sale->amountSale->amount ?? 0,0,',',' ') }} GNF
Total Payé :
{{ number_format($sale->amountSale->payments_amount ?? 0,0,',',' ') }} GNF
Reste à payer :
{{ number_format($sale->amountSale->remaining_amount ?? 0,0,',',' ') }} GNF
| # | Produit | Quantité | Prix Unitaire | Total |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->product->name ?? '-' }} | {{ $item->quantity }} | {{ number_format($item->price,0,',',' ') }} GNF | {{ number_format( ($item->quantity * $item->price) - ($item->discount ?? 0), 0, ',', ' ' ) }} GNF |
| Aucun produit trouvé | ||||
| TOTAL GÉNÉRAL : | {{ number_format( $sale->items->sum(function($item){ return ($item->quantity * $item->price) - ($item->discount ?? 0); }), 0, ',', ' ' ) }} GNF | |||