Added logic in panel box #1594

Merged
jothi merged 1 commits from ranjith-dev into master 2026-12-03 04:37:04 +00:00

View File

@@ -406,6 +406,7 @@ class PanelBoxValidationResource extends Resource
->danger()
->send();
$set('item_id', null);
return;
}
$existQuanInPanel = PanelBoxValidation::where('plant_id', $plantId)->where('production_order', $pOrder)->where('sticker_master_id', $sticker->id)->count();
@@ -440,6 +441,8 @@ class PanelBoxValidationResource extends Resource
$itemCode = $iCode;
$panelBoxCode = $iCode;
$supplier = substr($sNumber, 0, -10);
$serialPart = substr($sNumber, -10);