refactoring(accountant): accountant.

This commit is contained in:
elforjani3
2021-03-17 19:52:28 +02:00
parent 4e8bdee97a
commit d80e3083f7
8 changed files with 214 additions and 136 deletions

View File

@@ -1,7 +1,7 @@
const ACCOUNTS = {
ACCOUNT: 'ACCOUNT',
ACCOUNTS: 'ACCOUNTS',
ACCOUNTS_TYPES: 'ACCOUNTS_TYPES'
ACCOUNTS_TYPES: 'ACCOUNTS_TYPES',
};
const FINANCIAL_REPORTS = {
@@ -18,7 +18,7 @@ const FINANCIAL_REPORTS = {
const BILLS = {
BILLS: 'BILLS',
BILL: 'BILL',
BILLS_DUE: 'BILLS_DUE'
BILLS_DUE: 'BILLS_DUE',
};
const VENDORS = {
@@ -45,7 +45,7 @@ const SALE_ESTIMATES = {
const SALE_RECEIPTS = {
SALE_RECEIPTS: 'SALE_RECEIPTS',
SALE_RECEIPT: 'SALE_RECEIPT',
}
};
const INVENTORY_ADJUSTMENTS = {
INVENTORY_ADJUSTMENTS: 'INVENTORY_ADJUSTMENTS',
@@ -77,7 +77,7 @@ const SALE_INVOICES = {
const USERS = {
USERS: 'USERS',
USER: 'USER'
USER: 'USER',
};
const SETTING = {
@@ -91,7 +91,7 @@ const SETTING = {
const ORGANIZATIONS = {
ORGANIZATIONS: 'ORGANIZATIONS',
ORGANIZATION_CURRENT: 'ORGANIZATION_CURRENT'
ORGANIZATION_CURRENT: 'ORGANIZATION_CURRENT',
};
export default {
@@ -111,4 +111,4 @@ export default {
...USERS,
...SETTING,
...ORGANIZATIONS,
}
};