Vue file formating..
This commit is contained in:
parent
f0b50b53e8
commit
0876197e35
|
|
@ -38,7 +38,7 @@ const app = new Vue({
|
|||
params: {
|
||||
code: currency_code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.money.decimal = response.data.decimal_mark;
|
||||
this.money.thousands = response.data.thousands_separator;
|
||||
|
|
|
|||
|
|
@ -12,9 +12,6 @@ import DashboardPlugin from './../../plugins/dashboard-plugin';
|
|||
|
||||
import Global from './../../mixins/global';
|
||||
|
||||
import Form from './../../plugins/form';
|
||||
import BulkAction from './../../plugins/bulk-action';
|
||||
|
||||
// plugin setup
|
||||
Vue.use(DashboardPlugin);
|
||||
|
||||
|
|
@ -24,9 +21,4 @@ const app = new Vue({
|
|||
mixins: [
|
||||
Global
|
||||
],
|
||||
|
||||
data: function () {
|
||||
return {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -28,9 +28,4 @@ const app = new Vue({
|
|||
mixins: [
|
||||
Global
|
||||
],
|
||||
|
||||
data: function () {
|
||||
return {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ import DashboardPlugin from './../../plugins/dashboard-plugin';
|
|||
|
||||
import Global from './../../mixins/global';
|
||||
|
||||
import Form from './../../plugins/form';
|
||||
import BulkAction from './../../plugins/bulk-action';
|
||||
|
||||
// plugin setup
|
||||
Vue.use(DashboardPlugin);
|
||||
|
||||
|
|
@ -25,9 +22,4 @@ const app = new Vue({
|
|||
mixins: [
|
||||
Global
|
||||
],
|
||||
|
||||
data: function () {
|
||||
return {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ const app = new Vue({
|
|||
params: {
|
||||
code: currency_code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.form.currency_code = response.data.currency_code;
|
||||
this.form.currency_rate = response.data.currency_rate;
|
||||
|
|
@ -162,7 +162,7 @@ const app = new Vue({
|
|||
type: 'bill',
|
||||
currency_code: this.form.currency_code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.items = response.data;
|
||||
|
||||
|
|
@ -230,7 +230,7 @@ const app = new Vue({
|
|||
params: {
|
||||
account_id: account_id
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.transaction_form.currency = response.data.currency_name;
|
||||
this.transaction_form.currency_code = response.data.currency_code;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ const app = new Vue({
|
|||
column: 'email',
|
||||
value : this.form.email
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
if (response.data.errors) {
|
||||
if (response.data.data) {
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ const app = new Vue({
|
|||
params: {
|
||||
code: currency_code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.form.currency_code = response.data.currency_code;
|
||||
this.form.currency_rate = response.data.currency_rate;
|
||||
|
|
@ -162,7 +162,7 @@ const app = new Vue({
|
|||
type: 'invoice',
|
||||
currency_code: this.form.currency_code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.items = response.data;
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ const app = new Vue({
|
|||
params: {
|
||||
account_id: account_id
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.transaction_form.currency = response.data.currency_name;
|
||||
this.transaction_form.currency_code = response.data.currency_code;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ const app = new Vue({
|
|||
params: {
|
||||
code: code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.form.rate = response.data.rate;
|
||||
this.form.precision = response.data.precision;
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ const app = new Vue({
|
|||
}
|
||||
},
|
||||
|
||||
methods:{
|
||||
taxRateReplace(){
|
||||
methods: {
|
||||
taxRateReplace() {
|
||||
this.form.rate = this.form.rate.replace(',', '.');
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ const app = new Vue({
|
|||
params: {
|
||||
code: code
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
this.form.rate = response.data.rate;
|
||||
this.form.precision = response.data.precision;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,6 @@ const app = new Vue({
|
|||
methods: {
|
||||
next() {
|
||||
if (this.active++ > 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue