mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
support account icon
This commit is contained in:
+14
-7
@@ -1,31 +1,38 @@
|
||||
const allAccountCategories = [
|
||||
{
|
||||
id: 1,
|
||||
name: 'Cash'
|
||||
name: 'Cash',
|
||||
defaultAccountIconId: '1'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'Debit Card'
|
||||
name: 'Debit Card',
|
||||
defaultAccountIconId: '2'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'Credit Card'
|
||||
name: 'Credit Card',
|
||||
defaultAccountIconId: '2'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: 'Virtual Account'
|
||||
name: 'Virtual Account',
|
||||
defaultAccountIconId: '3'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: 'Debt Account'
|
||||
name: 'Debt Account',
|
||||
defaultAccountIconId: '4'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: 'Receivables'
|
||||
name: 'Receivables',
|
||||
defaultAccountIconId: '5'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
name: 'Investment Account'
|
||||
name: 'Investment Account',
|
||||
defaultAccountIconId: '6'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
const totalAccountIconCount = 22;
|
||||
const defaultAccountIcon = {
|
||||
f7Icon: 'bag'
|
||||
};
|
||||
const allAccountIcons = {
|
||||
'1': {
|
||||
f7Icon: 'bag'
|
||||
},
|
||||
'2': {
|
||||
f7Icon: 'creditcard'
|
||||
},
|
||||
'3': {
|
||||
f7Icon: 'rectangle_dock'
|
||||
},
|
||||
'4': {
|
||||
f7Icon: 'bag_badge_minus'
|
||||
},
|
||||
'5': {
|
||||
f7Icon: 'tray_arrow_down'
|
||||
},
|
||||
'6': {
|
||||
f7Icon: 'graph_square'
|
||||
},
|
||||
'7': {
|
||||
f7Icon: 'cube_box'
|
||||
},
|
||||
'8': {
|
||||
f7Icon: 'tickets'
|
||||
},
|
||||
'9': {
|
||||
f7Icon: 'lock_shield'
|
||||
},
|
||||
'10': {
|
||||
f7Icon: 'infinite'
|
||||
},
|
||||
'11': {
|
||||
f7Icon: 'logo_apple'
|
||||
},
|
||||
'12': {
|
||||
f7Icon: 'person'
|
||||
},
|
||||
'13': {
|
||||
f7Icon: 'person_2'
|
||||
},
|
||||
'14': {
|
||||
f7Icon: 'person_3'
|
||||
},
|
||||
'15': {
|
||||
f7Icon: 'globe'
|
||||
},
|
||||
'16': {
|
||||
f7Icon: 'money_dollar'
|
||||
},
|
||||
'17': {
|
||||
f7Icon: 'money_euro'
|
||||
},
|
||||
'18': {
|
||||
f7Icon: 'money_pound'
|
||||
},
|
||||
'19': {
|
||||
f7Icon: 'money_rubl'
|
||||
},
|
||||
'20': {
|
||||
f7Icon: 'money_yen'
|
||||
},
|
||||
'21': {
|
||||
f7Icon: 'bitcoin'
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
allAccountIcons: allAccountIcons,
|
||||
defaultAccountIcon: defaultAccountIcon,
|
||||
totalAccountIconCount: totalAccountIconCount,
|
||||
};
|
||||
Reference in New Issue
Block a user