payment fixes

This commit is contained in:
sidharth 2022-01-27 15:51:50 +05:30
parent d5144d80e2
commit 925836ff0c
1 changed files with 10 additions and 2 deletions

View File

@ -465,8 +465,8 @@
v-if="shippingInformations.totals.grandTotal !== 0"
>
<v-radio
:label="shippingInformations.paymentMethods[1].title"
:value="shippingInformations.paymentMethods[1].code"
:label="purchaseOrderPayment.title"
:value="purchaseOrderPayment.code"
class="black--text"
></v-radio>
<div v-if="paymentMethod === 'purchaseorder'">
@ -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() {