payment fixes
This commit is contained in:
parent
d5144d80e2
commit
925836ff0c
|
@ -465,8 +465,8 @@
|
||||||
v-if="shippingInformations.totals.grandTotal !== 0"
|
v-if="shippingInformations.totals.grandTotal !== 0"
|
||||||
>
|
>
|
||||||
<v-radio
|
<v-radio
|
||||||
:label="shippingInformations.paymentMethods[1].title"
|
:label="purchaseOrderPayment.title"
|
||||||
:value="shippingInformations.paymentMethods[1].code"
|
:value="purchaseOrderPayment.code"
|
||||||
class="black--text"
|
class="black--text"
|
||||||
></v-radio>
|
></v-radio>
|
||||||
<div v-if="paymentMethod === 'purchaseorder'">
|
<div v-if="paymentMethod === 'purchaseorder'">
|
||||||
|
@ -1494,6 +1494,14 @@ export default {
|
||||||
countryAndStatesList() {
|
countryAndStatesList() {
|
||||||
return this.$store.state.accountOne.allCountries;
|
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: {
|
methods: {
|
||||||
checkProductType() {
|
checkProductType() {
|
||||||
|
|
Loading…
Reference in New Issue