@forelse ($bonCommandes as $bonCommande) @empty @endforelse
Reference Client Date Total HT Total TTC Statut Actions
{{ $bonCommande->reference }} {{ $bonCommande->client->name }} {{ $bonCommande->bon_date->format('d/m/Y') }} {{ number_format($bonCommande->total_ht, 3, ',', ' ') }} DT {{ number_format($bonCommande->total_ttc, 3, ',', ' ') }} DT @if($bonCommande->status === 'converted') Converti @else Brouillon @endif
@if($bonCommande->status !== 'converted') @endif
@if (($search ?? '') !== '') Aucun bon de commande ne correspond a « {{ $search }} ». @else Aucun bon de commande trouve. @endif
@if($bonCommandes->hasPages())
{{ $bonCommandes->links() }}
@endif