@php use App\Filament\Admin\Widgets\TableauDeBord\ResteAFacturerWidget; use App\Support\Money; $affiches = array_slice($d['marches'], 0, ResteAFacturerWidget::LIMITE); $reste = count($d['marches']) - count($affiches); @endphp @if ($d['marches'] === [])

Aucun marché en cours.

@else @if ($reste > 0)

Et {{ $reste }} autre{{ $reste > 1 ? 's' : '' }} — voir tout.

@endif @endif