GesAGRO
Gestion agropastorale
|
FACTURE
N°: {{ $invoice->invoice_number }}
Date: {{ $invoice->date->format('d/m/Y') }}
Échéance: {{ $invoice->due_date->format('d/m/Y') }}
|
|
Émetteur:
Ma Ferme
Adresse de la ferme
contact@maferme.com
|
Client:
{{ $invoice->sale->customer->name }}
{{ $invoice->sale->customer->address }}
{{ $invoice->sale->customer->phone }}
|
|
| Désignation |
Prix |
@foreach($invoice->sale->items as $item)
| {{ $item->product_type }} (x{{ $item->quantity }}) |
{{ number_format($item->total_price, 0, ',', ' ') }} FCFA |
@endforeach
| Sous-total |
{{ number_format($invoice->sale->items->sum('total_price'), 0, ',', ' ') }} FCFA |
| Total à payer |
{{ number_format($invoice->sale->total_amount, 0, ',', ' ') }} FCFA |