Added notification in bulk sticker printing page #1276

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-20 05:22:57 +00:00

View File

@@ -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();