@if($achats->count() > 0) @foreach($achats as $key => $achat) @endforeach @else @endif
# Référence Date Fournisseur Total Actions
{{ $achats->firstItem() + $key }} {{ $achat->reference }} {{ \Carbon\Carbon::parse($achat->date)->format('d/m/Y') }} {{ $achat->fournisseur->fullname ?? '-' }}
{{ $achat->fournisseur->phone ?? '' }}
{{ number_format($achat->items->sum('amount'), 0, ',', ' ') }} FCFA
Aucun bon d'achat trouvé
{{ $achats->links() }}