@php $total = 100; $progress = ($getState() / $total) * 100; $displayProgress = $progress == 100 ? number_format($progress, 0) : number_format($progress, 2); $color = $getColor($state) ?? 'primary'; @endphp
@if ( $column instanceof \Webkul\Support\Filament\Tables\Columns\ProgressBarEntry && $column->getCanShow() ) $displayProgress != 100, 'text-white' => $displayProgress == 100 ]) > {{ $displayProgress }}% @endif