Change currency money group issue solved.

This commit is contained in:
Cüneyt Şentürk
2020-02-29 11:40:33 +03:00
parent 0d109aa89c
commit ba79655afa
17 changed files with 66 additions and 95 deletions

View File

@ -49,7 +49,6 @@ const app = new Vue({
transaction: [],
items: '',
discount: false,
currency: null,
taxes: null,
}
},
@ -102,21 +101,6 @@ const app = new Vue({
});
},
onChangeCurrency(currency_code) {
axios.get(url + '/settings/currencies/currency', {
params: {
code: currency_code
}
})
.then(response => {
this.currency = response.data;
this.form.currency_code = response.data.code;
this.form.currency_rate = response.data.rate;
})
.catch(error => {
});
},
onCalculateTotal() {
let sub_total = 0;
let discount_total = 0;