Merge pull request 'Commented logic in bulk sticker printing page' (#1262) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Reviewed-on: #1262
This commit was merged in pull request #1262.
This commit is contained in:
@@ -1024,18 +1024,18 @@ class BulkStickerPrinting extends Page implements HasForms
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
$matchedMachineId = StickerMappingMaster::where('plant_id', $plantId)->where('item_id', $pOrderExist->item_id)->where('sticker_structure1_id', $structure->id)->where('sticker1_machine_id', $machineId)->first();
|
// $matchedMachineId = StickerMappingMaster::where('plant_id', $plantId)->where('item_id', $pOrderExist->item_id)->where('sticker_structure1_id', $structure->id)->where('sticker1_machine_id', $machineId)->first();
|
||||||
|
|
||||||
if (!$matchedMachineId) {
|
// if (!$matchedMachineId) {
|
||||||
|
|
||||||
Notification::make()
|
// Notification::make()
|
||||||
->danger()
|
// ->danger()
|
||||||
->title('Machine Not Found')
|
// ->title('Machine Not Found')
|
||||||
->body("Machine '{$machineId}' is not mapped for Item Code '{$itemCode}' in sticker mapping master.")
|
// ->body("Machine '{$machineId}' is not mapped for Item Code '{$itemCode}' in sticker mapping master.")
|
||||||
->send();
|
// ->send();
|
||||||
|
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
$itemCharacteristic = ClassCharacteristic::where('plant_id', $plantId)
|
$itemCharacteristic = ClassCharacteristic::where('plant_id', $plantId)
|
||||||
->where('item_id', $pOrderExist->item_id)
|
->where('item_id', $pOrderExist->item_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user