Admin Workflow

This commit is contained in:
Dillon Ngo
2024-12-03 00:20:13 +08:00
parent b360019668
commit d5c81fb57f
+6 -6
View File
@@ -127,7 +127,7 @@ class QAWorkFlow2Seeder extends Seeder
'is_end' => false,
'answer_options' => [
['display_text' => 'Yes', 'value' => '1688_proceed_order', 'next_question_number' => '1688_proceed_order'],
['display_text' => 'No', 'value' => 'insufficient_order', 'next_question_number' => 'insufficient_order'],
['display_text' => 'No', 'value' => '1688_insufficient_order', 'next_question_number' => '1688_insufficient_order'],
],
],
[
@@ -269,21 +269,21 @@ class QAWorkFlow2Seeder extends Seeder
'is_end' => false,
'answer_options' => [
['display_text' => 'Sensitive Goods', 'value' => 'Sensitive Goods'],
['display_text' => 'Others', 'value' => 'PO Others', 'next_question_number' => 'reject_po_others'],
['display_text' => 'Others', 'value' => 'approve_po_reject_others', 'next_question_number' => 'approve_po_reject_others'],
['display_text' => 'Stop Working', 'value' => 'stop_working', 'next_question_number' => 'stop_working'],
['display_text' => 'Next Order', 'value' => 'approve_po', 'next_question_number' => 'approve_po'],
],
],
[
'question_number' => 'reject_po_others',
'question_number' => 'approve_po_reject_others',
'question_title' => 'What other issues did you encounter? Upload documents if needed',
'question_type' => QAType::REMARKS_WITH_DOCUMENT_UPLOAD,
'next_nested_question' => 'reject_po_others_complete',
'next_nested_question' => 'approve_po_reject_others_complete',
'is_start' => false,
'is_end' => false,
],
[
'question_number' => 'reject_po_others_complete',
'question_number' => 'approve_po_reject_others_complete',
'question_title' => 'Issue has been submitted',
'question_type' => QAType::MULTIPLE_CHOICES,
'is_start' => false,
@@ -333,7 +333,7 @@ class QAWorkFlow2Seeder extends Seeder
'is_end' => true,
],
[
'question_number' => 'insufficient_order',
'question_number' => '1688_insufficient_order',
'question_title' => 'Are You Sure this is the correct amount?',
'question_type' => QAType::MULTIPLE_CHOICES,
'is_start' => false,