@if ($invoices->count() > 0)
# |
Date |
Référence |
Client |
Statut |
Action |
@foreach ($invoices as $key => $invoice)
{{ $key + 1 }} |
{{ \Carbon\Carbon::parse($invoice->date)->format('d/m/Y') }} |
{{ $invoice->reference }} |
{{ $invoice->client->name }} |
@if ($invoice->status == 1)
Payé
@elseif ($invoice->status == 2)
Partiel
@else
Non payé
@endif
|
|
@endforeach
@else
Aucun élément trouvé.
@endif