From 9d45e962af52b8d34e88b38e188dbfb816c3d2d4 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 11 Sep 2026 10:25:51 +0530 Subject: [PATCH] Removed duplicate validation in bulk sticker printing --- app/Filament/Pages/BulkStickerPrinting.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Filament/Pages/BulkStickerPrinting.php b/app/Filament/Pages/BulkStickerPrinting.php index fe27e75..8b447c3 100644 --- a/app/Filament/Pages/BulkStickerPrinting.php +++ b/app/Filament/Pages/BulkStickerPrinting.php @@ -879,16 +879,16 @@ class BulkStickerPrinting extends Page implements HasForms } } - $updatePrintStatusCompleted = ProductionOrder::where('plant_id', $plantId)->where('production_order', $pOrder)->where('from_serial_number', $fromSerNo)->where('to_serial_number', $toSerNo)->where('print_status', 'Printed')->first(); + // $updatePrintStatusCompleted = ProductionOrder::where('plant_id', $plantId)->where('production_order', $pOrder)->where('from_serial_number', $fromSerNo)->where('to_serial_number', $toSerNo)->where('print_status', 'Printed')->first(); - if ($updatePrintStatusCompleted) { - Notification::make() - ->danger() - ->title('Duplicate Sticker') - ->body("Already Sticker generated successfully for Production Order '$pOrder' and plant '$plantName'.") - ->send(); - return; - } + // if ($updatePrintStatusCompleted) { + // Notification::make() + // ->danger() + // ->title('Duplicate Sticker') + // ->body("Already Sticker generated successfully for Production Order '$pOrder' and plant '$plantName'.") + // ->send(); + // return; + // } $structure = StickerStructureDetail::where('sticker_id',$stickerId)->first();