fixed link redirection, touch up the interface and added updated order verify

This commit is contained in:
Aqqil Azman
2024-07-23 17:53:18 +08:00
parent 1392595385
commit 56fddcea36
@@ -44,7 +44,12 @@
</div>
<div v-if="currentQuestionId === 'login_successful'">
<h1>Order Information</h1>
<h3>
<span class="bold d-inline-block m-r-15">ORDER Marking: </span>
<a :href="route('booking.details', externalApiResponse.data.booking.marking)" target="_blank">
{{ externalApiResponse.data.booking.marking }}
</a>
</h3>
<div v-if="externalApiResponse.data"
class="row bg-master-light m-t-15 m-b-15 rounded padding-30">
<div class="col">
@@ -52,7 +57,9 @@
<span class="bold d-inline-block m-r-15">ORDER Reference(s): </span>
</h3>
<div v-for="(attribute, index) in externalApiResponse.data.booking_attributes" :key="index">
<a :href="route('booking.details', externalApiResponse.data.booking.marking)">#{{ attribute.value }}</a>
<h2>
#{{ attribute.value }}
</h2>
</div>
</div>
</div>
@@ -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": {