From ad688fb3b1e796e7c344a1c1c3bc4dbced958d18 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 20 Oct 2026 10:52:14 +0530 Subject: [PATCH] Added notification in bulk sticker printing page --- app/Filament/Pages/BulkStickerPrinting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Pages/BulkStickerPrinting.php b/app/Filament/Pages/BulkStickerPrinting.php index 5b2429cc..daae2a46 100644 --- a/app/Filament/Pages/BulkStickerPrinting.php +++ b/app/Filament/Pages/BulkStickerPrinting.php @@ -171,10 +171,10 @@ class BulkStickerPrinting extends Page implements HasForms ->where('item_id', $item->id) ->get(); - if (! $stickerMappings) { + if ($stickerMappings->isEmpty()) { Notification::make() ->title('Sticker mapping not found') - ->body("No sticker mapping found for this plant and class characteristic.") + ->body("No sticker mapping found for item '$itemCode' and plant '$plantName'.") ->danger() ->send(); -- 2.49.1