mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
support sub account
This commit is contained in:
@@ -35,7 +35,12 @@ const allAccountCategories = [
|
||||
defaultAccountIconId: '6'
|
||||
}
|
||||
];
|
||||
const allAccountTypes = {
|
||||
SingleAccount: 1,
|
||||
MultiSubAccounts: 2
|
||||
};
|
||||
|
||||
export default {
|
||||
allCategories: allAccountCategories
|
||||
allCategories: allAccountCategories,
|
||||
allAccountTypes: allAccountTypes,
|
||||
};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
const parentAccountCurrencyPlacehodler = '---';
|
||||
|
||||
// ISO 4217
|
||||
const allCurrencies = [
|
||||
'AED', //UAE Dirham
|
||||
@@ -160,5 +162,6 @@ const allCurrencies = [
|
||||
];
|
||||
|
||||
export default {
|
||||
parentAccountCurrencyPlacehodler: parentAccountCurrencyPlacehodler,
|
||||
all: allCurrencies
|
||||
};
|
||||
|
||||
+3
-4
@@ -1,7 +1,5 @@
|
||||
const totalAccountIconCount = 22;
|
||||
const defaultAccountIcon = {
|
||||
f7Icon: 'bag'
|
||||
};
|
||||
const defaultAccountIconId = '1';
|
||||
const allAccountIcons = {
|
||||
'1': {
|
||||
f7Icon: 'bag'
|
||||
@@ -70,6 +68,7 @@ const allAccountIcons = {
|
||||
|
||||
export default {
|
||||
allAccountIcons: allAccountIcons,
|
||||
defaultAccountIcon: defaultAccountIcon,
|
||||
defaultAccountIconId: defaultAccountIconId,
|
||||
defaultAccountIcon: allAccountIcons[defaultAccountIconId],
|
||||
totalAccountIconCount: totalAccountIconCount,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user