From ba9e85a4e946a7fc64dee5dcc496636471ffa358 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 31 Mar 2025 20:16:42 +0530 Subject: [PATCH] Changes in warning message - Production Plan already updated --- app/Filament/Resources/ProductionPlanResource.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Filament/Resources/ProductionPlanResource.php b/app/Filament/Resources/ProductionPlanResource.php index 93cf25da4..ab7b71cc2 100644 --- a/app/Filament/Resources/ProductionPlanResource.php +++ b/app/Filament/Resources/ProductionPlanResource.php @@ -163,10 +163,9 @@ class ProductionPlanResource extends Resource if ($exists) { $set('line_id', null); - $set('ppLineError', $get('shift_id.name').' Production Plan already updated.'); + $set('ppLineError', 'Production plan already updated.'); return; } - $set('ppLineError', null); } })