moneygroup fixes.

This commit is contained in:
Cüneyt Şentürk
2020-02-12 16:09:44 +03:00
parent 4a9d486321
commit 27e027c564
6 changed files with 15 additions and 32 deletions

View File

@ -342,12 +342,6 @@ const app = new Vue({
this.transaction_form.currency = response.data.currency_name;
this.transaction_form.currency_code = response.data.currency_code;
this.transaction_form.currency_rate = response.data.currency_rate;
this.money.decimal = response.data.decimal_mark;
this.money.thousands = response.data.thousands_separator;
this.money.prefix = (response.data.symbol_first) ? response.data.symbol : '';
this.money.suffix = !(response.data.symbol_first) ? response.data.symbol : '';
this.money.precision = response.data.precision;
})
.catch(error => {
});

View File

@ -15,18 +15,12 @@ import Global from './../../mixins/global';
import Form from './../../plugins/form';
import BulkAction from './../../plugins/bulk-action';
import {Tooltip} from 'element-ui';
// plugin setup
Vue.use(DashboardPlugin, Tooltip);
Vue.use(DashboardPlugin);
const app = new Vue({
el: '#app',
components: {
[Tooltip.name]: Tooltip,
},
mixins: [
Global
],
@ -34,7 +28,13 @@ const app = new Vue({
data: function () {
return {
form: new Form('payment'),
bulk_action: new BulkAction('payments')
bulk_action: new BulkAction('payments'),
currency: null,
}
},
methods: {
onCalcualte() {
}
}
});

View File

@ -342,12 +342,6 @@ const app = new Vue({
this.transaction_form.currency = response.data.currency_name;
this.transaction_form.currency_code = response.data.currency_code;
this.transaction_form.currency_rate = response.data.currency_rate;
this.money.decimal = response.data.decimal_mark;
this.money.thousands = response.data.thousands_separator;
this.money.prefix = (response.data.symbol_first) ? response.data.symbol : '';
this.money.suffix = !(response.data.symbol_first) ? response.data.symbol : '';
this.money.precision = response.data.precision;
})
.catch(error => {
});

View File

@ -15,18 +15,12 @@ import Global from './../../mixins/global';
import Form from './../../plugins/form';
import BulkAction from './../../plugins/bulk-action';
import {Tooltip} from 'element-ui';
// plugin setup
Vue.use(DashboardPlugin, Tooltip);
Vue.use(DashboardPlugin);
const app = new Vue({
el: '#app',
components: {
[Tooltip.name]: Tooltip,
},
mixins: [
Global
],