@freteclick/quasar-financial-ui 1.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +18 -0
- package/src/components/common/Filters.vue +141 -0
- package/src/components/expense/FormExpense.vue +309 -0
- package/src/components/expense/TableExpenses.vue +305 -0
- package/src/components/invoice/client/ClientInvoiceDetails.vue +213 -0
- package/src/components/invoice/client/InvoiceSearching.vue +383 -0
- package/src/components/invoice/client/details/InvoiceInvoice.vue +249 -0
- package/src/components/invoice/client/details/InvoiceOrders.vue +328 -0
- package/src/components/invoice/expense/CreateExpense.vue +539 -0
- package/src/components/invoice/expense/DetailExpense.vue +393 -0
- package/src/components/invoice/pay/InvoiceDetails.vue +210 -0
- package/src/components/invoice/pay/InvoiceSearching.vue +388 -0
- package/src/components/invoice/pay/details/InvoiceInvoice.vue +47 -0
- package/src/components/invoice/pay/details/InvoiceOrders.vue +342 -0
- package/src/components/invoice/receive/InvoiceDetails.vue +281 -0
- package/src/components/invoice/receive/InvoiceSearching.vue +359 -0
- package/src/components/invoice/receive/details/InvoiceInvoice.vue +371 -0
- package/src/components/invoice/receive/details/InvoiceInvoiceBkp.vue +260 -0
- package/src/components/invoice/receive/details/InvoiceOrders.vue +370 -0
- package/src/i18n/en-us/index.js +8 -0
- package/src/i18n/index.js +5 -0
- package/src/i18n/pt-br/index.js +30 -0
- package/src/pages/Invoice/Client/Details.vue +23 -0
- package/src/pages/Invoice/Client/Index.vue +27 -0
- package/src/pages/Invoice/Pay/Details.vue +23 -0
- package/src/pages/Invoice/Pay/Index.vue +53 -0
- package/src/pages/Invoice/Receive/Details.vue +23 -0
- package/src/pages/Invoice/Receive/Index.vue +27 -0
- package/src/router/routes.js +32 -0
- package/src/store/modules/invoice/comission/actions.js +66 -0
- package/src/store/modules/invoice/comission/getters.js +7 -0
- package/src/store/modules/invoice/comission/index.js +19 -0
- package/src/store/modules/invoice/comission/mutation_types.js +8 -0
- package/src/store/modules/invoice/comission/mutations.js +42 -0
- package/src/store/modules/invoice/expense/actions.js +98 -0
- package/src/store/modules/invoice/expense/getters.js +1 -0
- package/src/store/modules/invoice/expense/index.js +12 -0
- package/src/store/modules/invoice/expense/mutations.js +3 -0
- package/src/store/modules/invoice/expense/state.js +5 -0
- package/src/store/modules/invoice/pay/actions.js +114 -0
- package/src/store/modules/invoice/pay/getters.js +7 -0
- package/src/store/modules/invoice/pay/index.js +19 -0
- package/src/store/modules/invoice/pay/mutation_types.js +8 -0
- package/src/store/modules/invoice/pay/mutations.js +42 -0
- package/src/store/modules/invoice/receive/actions.js +152 -0
- package/src/store/modules/invoice/receive/actionsBkp.js +77 -0
- package/src/store/modules/invoice/receive/getters.js +7 -0
- package/src/store/modules/invoice/receive/index.js +19 -0
- package/src/store/modules/invoice/receive/mutation_types.js +8 -0
- package/src/store/modules/invoice/receive/mutations.js +42 -0
- package/src/store/store-flag.d.ts +9 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as types from './mutation_types';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
[types.SET_ERROR] (state, error) {
|
|
5
|
+
Object.assign(state, { error });
|
|
6
|
+
},
|
|
7
|
+
|
|
8
|
+
[types.SET_ISLOADING] (state, isLoading = true) {
|
|
9
|
+
Object.assign(state, { isLoading: isLoading });
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
[types.SET_VIOLATIONS](state, violations) {
|
|
13
|
+
Object.assign(state, { violations });
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
[types.SET_RETRIEVED](state, retrieved) {
|
|
17
|
+
Object.assign(state, { retrieved });
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
[types.SET_ITEMS](state, items) {
|
|
21
|
+
Object.assign(state, { items });
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
[types.SET_VIEW](state, view) {
|
|
25
|
+
Object.assign(state, { view });
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
[types.SET_TOTALITEMS](state, totalItems) {
|
|
29
|
+
Object.assign(state, { totalItems });
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
[types.RESET](state) {
|
|
33
|
+
Object.assign(state, {
|
|
34
|
+
isLoading : false,
|
|
35
|
+
error : '',
|
|
36
|
+
violations: null,
|
|
37
|
+
retrieved : null,
|
|
38
|
+
totalItems: null,
|
|
39
|
+
items : [],
|
|
40
|
+
});
|
|
41
|
+
},
|
|
42
|
+
};
|