@php use App\Support\Tarif; $libelles = ['online' => 'En ligne', 'pending' => 'En attente', 'sold' => 'Vendue', 'expired' => 'Expirée', 'refused' => 'Refusée', 'draft' => 'Brouillon']; @endphp
| Annonce | Prix | Statut | Vues | Publiée | |
|---|---|---|---|---|---|
|
|
{{ $ad->price_label }} | @php $aRegler = Tarif::attendPaiement($ad); @endphp{{ $aRegler ? 'Paiement en attente' : ($libelles[$ad->status] ?? $ad->status) }} @if($aRegler) Régler {{ \App\Support\Dates::euros(config('billing.particulier.amount'), true) }} et publier @endif | {{ number_format($ad->views, 0, ',', ' ') }} | {{ $ad->published_at ? $ad->published : '—' }} |