mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 18:03:59 +00:00
Admin Workflow - Fix Tested Issues
This commit is contained in:
+9
-9
@@ -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 = 'xfill_po_'.$key1;
|
||||
$key2 = 'xfill_po_'.$key2;
|
||||
}
|
||||
if (strpos($currentQuestion['question_number'], 'approve_po') === 0) {
|
||||
$key1 = 'xapprove_po_'.$key1;
|
||||
$key2 = 'xapprove_po_'.$key2;
|
||||
}
|
||||
|
||||
$processingRecord = $booking->attributesKVP()->where('key', $key2)->first();
|
||||
if ($processingRecord) {
|
||||
@@ -149,7 +149,7 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
|
||||
$keyValuePairObject = new KeyValuePairObject($key1, true);
|
||||
$this->createsKeyValuePair->execute($booking, $keyValuePairObject);
|
||||
}
|
||||
// $isNoGoingBack = 1;
|
||||
$isNoGoingBack = 1;
|
||||
}
|
||||
|
||||
$previousAnswer = null;
|
||||
|
||||
Reference in New Issue
Block a user