From 925836ff0cf1a639b17a2ae4362514de705683c8 Mon Sep 17 00:00:00 2001 From: sidharth Date: Thu, 27 Jan 2022 15:51:50 +0530 Subject: [PATCH] payment fixes --- src/routes/retailer/checkout_page.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/routes/retailer/checkout_page.vue b/src/routes/retailer/checkout_page.vue index de8e5ab..da0df3f 100644 --- a/src/routes/retailer/checkout_page.vue +++ b/src/routes/retailer/checkout_page.vue @@ -465,8 +465,8 @@ v-if="shippingInformations.totals.grandTotal !== 0" >
@@ -1494,6 +1494,14 @@ export default { countryAndStatesList() { return this.$store.state.accountOne.allCountries; }, + purchaseOrderPayment() { + let paymentMethods=this.shippingInformations.paymentMethods; + return paymentMethods.filter(method=>method.code==="purchaseorder")[0] + }, + // freePayment() { + // let paymentMethods=this.shippingInformations.paymentMethods; + // return paymentMethods.filter(method=>method.code==="free")[0] + // }, }, methods: { checkProductType() {