Added notification in bulk sticker printing page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Laravel Pint / pint (pull_request) Successful in 4m2s
Laravel Larastan / larastan (pull_request) Failing after 4m34s

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