diff --git a/resources/views/mail/production_report.blade.php b/resources/views/mail/production_report.blade.php index 2234bb67..ec279e9b 100644 --- a/resources/views/mail/production_report.blade.php +++ b/resources/views/mail/production_report.blade.php @@ -162,7 +162,7 @@ if ((float) $planQuantity == 0 && (float) $actualQuantity == 0) { - return '#4caf50'; + return null; } $efficiency = (float) $value; @@ -171,7 +171,8 @@ return '#ff4d4d'; // red } elseif ($efficiency < 95) { return '#ffd633'; // yellow - } else { + } + else { return '#4caf50'; // green } }; @@ -218,8 +219,15 @@ {{--