ranjith-dev #715

Merged
jothi merged 2 commits from ranjith-dev into master 2026-06-06 13:39:28 +00:00
Showing only changes of commit 6bc14a347a - Show all commits

View File

@@ -274,7 +274,7 @@ class MotorTestingMasterImporter extends Importer
$warnMsg[] = 'Invalid plant code found';
} elseif (Str::length($iCode) < 6 || ! ctype_alnum($iCode)) {
$warnMsg[] = 'Invalid item code found';
} elseif (Str::length($sCode) < 6 || ! ctype_alnum($sCode)) {
} elseif (Str::length($sCode) > 0 && (Str::length($sCode) < 6 || ! ctype_alnum($sCode))) {
$warnMsg[] = 'Invalid sub-assembly code found';
} else {
$plant = Plant::where('code', $plantCod)->first();