From c46127f29fa08f45cadccc7038b55dfaac5738b4 Mon Sep 17 00:00:00 2001 From: Reddy Date: Thu, 20 Apr 2023 13:05:11 +0530 Subject: [PATCH] SSR-415 front end for payment page --- src/layouts/payment-page/payment-page.vue | 81 +++++++++++++++++++ src/router/router-constants/issPage-values.js | 1 + src/router/router-constants/routing-table.js | 10 +++ 3 files changed, 92 insertions(+) create mode 100644 src/layouts/payment-page/payment-page.vue diff --git a/src/layouts/payment-page/payment-page.vue b/src/layouts/payment-page/payment-page.vue new file mode 100644 index 00000000..682aa32b --- /dev/null +++ b/src/layouts/payment-page/payment-page.vue @@ -0,0 +1,81 @@ + + + diff --git a/src/router/router-constants/issPage-values.js b/src/router/router-constants/issPage-values.js index 119f19b7..259aebae 100644 --- a/src/router/router-constants/issPage-values.js +++ b/src/router/router-constants/issPage-values.js @@ -21,6 +21,7 @@ export const issPageValues = { SERVICE_LOCATION: "service-location", SCHEDULE_PAGE: "schedule-page", CONTACT_DETAILS: "contact-details", + PAYMENT_PAGE: "payment-page", REVEAL: "reveal", ESTIMATE: "estimate", ADDRESS_VEHICLES: "address-vehicles", diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js index 8145eedb..01bc39d0 100644 --- a/src/router/router-constants/routing-table.js +++ b/src/router/router-constants/routing-table.js @@ -470,6 +470,16 @@ const routingTable = function(store) { ], }, + { + issPageValue: issPageValues.PAYMENT_PAGE, + maps: [ + { + scenario: navigationScenarios.CLICKED_BACK, + destinationIssPageValue: issPageValues.REVIEW_PAGE, + }, + + ], + }, ]; };