1
0
forked from poc/pds

Added notification in bulk sticker printing page

This commit is contained in:
dhanabalan
2026-10-20 10:52:14 +05:30
parent 4f97cd607e
commit ad688fb3b1

View File

@@ -171,10 +171,10 @@ class BulkStickerPrinting extends Page implements HasForms
->where('item_id', $item->id) ->where('item_id', $item->id)
->get(); ->get();
if (! $stickerMappings) { if ($stickerMappings->isEmpty()) {
Notification::make() Notification::make()
->title('Sticker mapping not found') ->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() ->danger()
->send(); ->send();