From 701936d311feca211e9faedb31e20545fc6f55e1 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Fri, 10 Jan 2025 07:25:41 +0800 Subject: [PATCH] Admin Workflow - Fix Tested Issues --- .../UpdateNextQuestionV1AdminWFLogic.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php b/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php index 8731c659..89019ae2 100644 --- a/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php +++ b/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php @@ -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) {