diff --git a/resources/views/livewire/production-target-plan.blade.php b/resources/views/livewire/production-target-plan.blade.php index e422eaee..d16971d7 100644 --- a/resources/views/livewire/production-target-plan.blade.php +++ b/resources/views/livewire/production-target-plan.blade.php @@ -48,13 +48,11 @@ {{ $monthlyActualQuantity ?? 0 }} + {{ ($efficiency ?? 0) > 95 + ? 'bg-green-600 text-white' + : (($efficiency ?? 0) >= 85 + ? 'bg-yellow-400 text-white' + : 'bg-red-600 text-white') }}"> {{ number_format($efficiency ?? 0, 2) }}%