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); } })