1
0
forked from poc/pds

Added logic in part validation 1 for pipeline

This commit is contained in:
dhanabalan
2026-06-08 18:01:17 +05:30
parent 24865267a2
commit 27fc3e2cbf

View File

@@ -3507,6 +3507,17 @@ class QualityValidationResource extends Resource
return;
}
if (strpos($state, '|') !== false) {
$state = explode('|', $state)[0];
if ($state != $expectedValue){
$set('part_validation1_error', 'Invalid input for part validation 1.');
}
else{
$set('part_validation1', $state);
$set('part_validation1_error', null);
}
}
if ($state == $expectedValue) {
$set('part_validation1_error', null);
} else {