From 56fddcea36c339ae987e03f7ac1185bc8fe26dde Mon Sep 17 00:00:00 2001 From: Aqqil Azman Date: Tue, 23 Jul 2024 17:53:18 +0800 Subject: [PATCH] fixed link redirection, touch up the interface and added updated order verify --- .../AdminWorkFlowSectionComponent.vue | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue b/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue index 710d8d22..4e3d6102 100644 --- a/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue +++ b/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue @@ -44,7 +44,12 @@
-

Order Information

+

+ ORDER Marking: + + {{ externalApiResponse.data.booking.marking }} + +

@@ -52,7 +57,9 @@ ORDER Reference(s):
- #{{ attribute.value }} +

+ #{{ attribute.value }} +

@@ -190,6 +197,10 @@ export default { }, "login_successful": { "load_api": this.route("api.admin_work_flow.fetch_model_attributes"), + "answers": [ + { "text": "Can't verify order?", "next": "issue_order"}, + { "text": "Order Verified", "next": "order_verify"}, + ] }, "issue_order": { "answers": [ @@ -198,10 +209,14 @@ export default { { "text": "Others", "next": "po_others" }, { "text": "Customer Did not verify 1688 account", "next": "issue_submit" }, { "text": "WorldFirst account linked another account", "next": "issue_submit" }, - { "text": "Back", "next": "login_successful" } ] }, - "order_verify": {}, + "order_verify": { + "load_api": this.route("api.admin_work_flow.fetch_model_attributes"), + "answers": [ + { "text": "Yes", "next": "order_verification"} + ] + }, "order_verification": { "text": "Are You Sure this is the correct amount?", "answers": [ @@ -280,7 +295,6 @@ export default { "text": "PO Rejected", "answers": [ { "text": "Issue", "next": "issue_po" }, - { "text": "Back", "next": "approve_po" } ] }, "issue_po": {