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 {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
8
resources/assets/js/views/portal/payments.js
vendored
8
resources/assets/js/views/portal/payments.js
vendored
@ -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 {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
6
resources/assets/js/views/purchases/bills.js
vendored
6
resources/assets/js/views/purchases/bills.js
vendored
@ -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;
|
||||
|
2
resources/assets/js/views/sales/customers.js
vendored
2
resources/assets/js/views/sales/customers.js
vendored
@ -46,7 +46,7 @@ const app = new Vue({
|
||||
column: 'email',
|
||||
value : this.form.email
|
||||
}
|
||||
})
|
||||
})
|
||||
.then(response => {
|
||||
if (response.data.errors) {
|
||||
if (response.data.data) {
|
||||
|
6
resources/assets/js/views/sales/invoices.js
vendored
6
resources/assets/js/views/sales/invoices.js
vendored
@ -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;
|
||||
|
4
resources/assets/js/views/settings/taxes.js
vendored
4
resources/assets/js/views/settings/taxes.js
vendored
@ -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;
|
||||
|
2
resources/assets/js/views/wizard/finish.js
vendored
2
resources/assets/js/views/wizard/finish.js
vendored
@ -38,6 +38,6 @@ const app = new Vue({
|
||||
methods: {
|
||||
next() {
|
||||
if (this.active++ > 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user