Admin Workflow - Admin UI to search and export data

This commit is contained in:
Dillon Ngo
2025-01-09 02:55:24 +08:00
parent eab335d34c
commit 03e044e906
@@ -27,7 +27,7 @@ class FetchFirstQuestionV1AdminWFProcessor
try {
$setId = $request->route('set_id');
if($setId === '0'){
$set = QAQuestionnaireSet::where('group', 'workflow')->latest('id')->first();
$set = QAQuestionnaireSet::where('group', '1688,approve_po,fill_po')->latest('id')->first();
$setId = $set->id;
}
$query = $this->fetchesQuestion->execute(['questionnaire_set_id' => $setId]);