mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 16:34:00 +00:00
Merge branch 'dillon/74-admin-workflow' into vapor/development
This commit is contained in:
+4
@@ -162,6 +162,10 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
|
||||
//Get returned question (previous or next)
|
||||
$returnQuestion = $this->fetchNextQuestionQAProcessor->execute($request, $previousAnswer);
|
||||
|
||||
if($returnQuestion && $returnQuestion->is_start){
|
||||
$isNoGoingBack = 1;
|
||||
}
|
||||
|
||||
//When a questionnaire ended, return back the first question
|
||||
if(is_null($returnQuestion)){
|
||||
$returnQuestion = $this->fetchFirstQuestionQAProcessor->execute($request);
|
||||
|
||||
Reference in New Issue
Block a user