Admin Workflow - Fix Tested Issues

This commit is contained in:
Dillon Ngo
2025-01-10 07:25:41 +08:00
parent c782122d4b
commit 701936d311
@@ -129,14 +129,14 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
$key1 = '1688_'.$key1;
$key2 = '1688_'.$key2;
}
if (strpos($currentQuestion['question_number'], 'fill_po') === 0) {
$key1 = 'fill_po_'.$key1;
$key2 = 'fill_po_'.$key2;
}
if (strpos($currentQuestion['question_number'], 'approve_po') === 0) {
$key1 = 'approve_po_'.$key1;
$key2 = 'approve_po_'.$key2;
}
// if (strpos($currentQuestion['question_number'], 'fill_po') === 0) {
// $key1 = 'fill_po_'.$key1;
// $key2 = 'fill_po_'.$key2;
// }
// if (strpos($currentQuestion['question_number'], 'approve_po') === 0) {
// $key1 = 'approve_po_'.$key1;
// $key2 = 'approve_po_'.$key2;
// }
$processingRecord = $booking->attributesKVP()->where('key', $key2)->first();
if ($processingRecord) {