Currency total edited

This commit is contained in:
Burak Civan
2021-07-01 10:23:15 +03:00
parent 1a0642f6a6
commit 6a027f2e38
4 changed files with 32 additions and 9 deletions

View File

@ -49,7 +49,6 @@ export default {
conversion: '',
rate: this.currencyRate,
texts: [],
texts_split: []
};
},
@ -57,12 +56,13 @@ export default {
let conver = this.currencyConversionText.split(':price');
this.texts.push(conver[0]);
this.texts.push(conver[1].replace(':currency_code', this.currecyCode).replace(':currency_rate', ''));
this.texts.push(conver[1].replace(':currency_code', company_currency_code).replace(':currency_rate', ''));
},
methods: {
onChange() {
this.$emit('change', this.rate);
this.currencySymbol.rate = this.rate;
}
},