From e2149f8e3fcfd2ba3bcb6c333ba8cf5056eeca0e Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Tue, 11 Feb 2025 16:52:39 +0800 Subject: [PATCH] Admin Workflow - Fix Tested Issues - upload 3 documents at one step --- .../ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php b/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php index b78f84e0..2f18fc4d 100644 --- a/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php +++ b/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php @@ -129,7 +129,7 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic //Marked data that has already been processed so that it does not appear again $isNoGoingBack = null; - if($currentQuestion && $currentQuestion['is_end'] === 1){ + if($currentQuestion && $currentQuestion['is_end'] === 1 && !$request->has('isPrevious')){ $booking = Booking::where('id', $questionMetadata['id'])->first(); $key1 = "admin_workflow_processed";