From c3b8bc388099dbc2d512a6bf99525f00d7f75b5a Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 12 Aug 2026 16:32:56 +0530 Subject: [PATCH] added machine in sticker mapping master in sticker print page --- app/Filament/Pages/StickerPrint.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Filament/Pages/StickerPrint.php b/app/Filament/Pages/StickerPrint.php index e5960a2..e8e3d93 100644 --- a/app/Filament/Pages/StickerPrint.php +++ b/app/Filament/Pages/StickerPrint.php @@ -318,6 +318,7 @@ class StickerPrint extends Page implements HasForms $itemI = $item->id; $mapping = StickerMappingMaster::where('plant_id', $plantId) + ->where('machine_id', $workCenter) ->where('item_characteristic_id', $itemI) ->first(); @@ -420,8 +421,6 @@ class StickerPrint extends Page implements HasForms // 'path' => basename($tempPdfPath), // ]); $pdfUrls[] = route('sticker.preview', ['path' => basename($tempPdfPath)]); - - } $this->dispatch('open-sticker-pdf', urls: $pdfUrls); -- 2.49.1