{{-- The general-purpose cell: a formatted number, optionally with a magnitude bar beneath it. Every column an admin creates uses this one. Contract (set by charity-list-row.blade.php): $col, $number, $groupClass, $barPercent. --}} @use('App\Support\CharityPresenter') {{-- The general-purpose cell: a formatted number, optionally with a magnitude bar beneath it. Every column an admin creates uses this one. Contract (set by charity-list-row.blade.php): $col, $number, $groupClass, $barPercent. --}} @php $color = CharityPresenter::colorFor($number, $col->color_mode ?: 'none'); @endphp {{ CharityPresenter::format($number, $col->format ?: 'number', (int) $col->decimals) }} @if ($barPercent !== null) @endif