fixed edit currency..
This commit is contained in:
parent
8f46e4e53b
commit
17e4b5a68a
@ -631,6 +631,14 @@ const app = new Vue({
|
|||||||
|
|
||||||
if (document_currencies) {
|
if (document_currencies) {
|
||||||
this.currencies = document_currencies;
|
this.currencies = document_currencies;
|
||||||
|
|
||||||
|
this.currencies.forEach(function (currency, index) {
|
||||||
|
if (document_default_currency == currency.code) {
|
||||||
|
this.currency = currency;
|
||||||
|
|
||||||
|
this.form.currency_code = currency.code;
|
||||||
|
}
|
||||||
|
}, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user