set default currency
This commit is contained in:
parent
3ac6bb98ac
commit
9e9f6597a1
15
resources/assets/js/mixins/global.js
vendored
15
resources/assets/js/mixins/global.js
vendored
@ -2,7 +2,7 @@ import Vue from 'vue';
|
|||||||
|
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
import DropzoneFileUpload from './../components/Inputs/DropzoneFileUpload';
|
import AkauntingDropzoneFileUpload from './../components/AkauntingDropzoneFileUpload';
|
||||||
import AkauntingContactCard from './../components/AkauntingContactCard';
|
import AkauntingContactCard from './../components/AkauntingContactCard';
|
||||||
import AkauntingCompanyEdit from './../components/AkauntingCompanyEdit';
|
import AkauntingCompanyEdit from './../components/AkauntingCompanyEdit';
|
||||||
import AkauntingEditItemColumns from './../components/AkauntingEditItemColumns';
|
import AkauntingEditItemColumns from './../components/AkauntingEditItemColumns';
|
||||||
@ -31,7 +31,7 @@ import { concat } from 'lodash';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
DropzoneFileUpload,
|
AkauntingDropzoneFileUpload,
|
||||||
AkauntingContactCard,
|
AkauntingContactCard,
|
||||||
AkauntingCompanyEdit,
|
AkauntingCompanyEdit,
|
||||||
AkauntingEditItemColumns,
|
AkauntingEditItemColumns,
|
||||||
@ -61,7 +61,16 @@ export default {
|
|||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
component: '',
|
component: '',
|
||||||
currency: null
|
currency: {
|
||||||
|
"name":"US Dollar",
|
||||||
|
"code":"USD",
|
||||||
|
"rate":1,
|
||||||
|
"precision":2,
|
||||||
|
"symbol":"$",
|
||||||
|
"symbol_first":1,
|
||||||
|
"decimal_mark":".",
|
||||||
|
"thousands_separator":",",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user