Invoice/Bill currency field issue solved.

This commit is contained in:
Cüneyt Şentürk 2020-02-14 18:23:39 +03:00
parent 663967a964
commit 456a2befc0
2 changed files with 5 additions and 4 deletions

View File

@ -110,8 +110,8 @@ const app = new Vue({
}) })
.then(response => { .then(response => {
this.currency = response.data; this.currency = response.data;
this.form.currency_code = response.data.currency_code; this.form.currency_code = response.data.code;
this.form.currency_rate = response.data.currency_rate; this.form.currency_rate = response.data.rate;
}) })
.catch(error => { .catch(error => {
}); });

View File

@ -110,8 +110,9 @@ const app = new Vue({
}) })
.then(response => { .then(response => {
this.currency = response.data; this.currency = response.data;
this.form.currency_code = response.data.currency_code;
this.form.currency_rate = response.data.currency_rate; this.form.currency_code = response.data.code;
this.form.currency_rate = response.data.rate;
}) })
.catch(error => { .catch(error => {
}); });