mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
support showing transaction tag in transaction list page
This commit is contained in:
@@ -16,6 +16,7 @@ const defaultSettings = {
|
||||
timezoneUsedForStatisticsInHomePage: timezoneConstants.defaultTimezoneTypesUsedForStatistics,
|
||||
itemsCountInTransactionListPage: 15,
|
||||
showTotalAmountInTransactionListPage: true,
|
||||
showTagInTransactionListPage: false,
|
||||
showAccountBalance: true,
|
||||
statistics: {
|
||||
defaultChartDataType: statisticsConstants.defaultChartDataType,
|
||||
@@ -196,6 +197,14 @@ export function setShowTotalAmountInTransactionListPage(value) {
|
||||
setOption('showTotalAmountInTransactionListPage', value);
|
||||
}
|
||||
|
||||
export function isShowTagInTransactionListPage() {
|
||||
return getOption('showTagInTransactionListPage');
|
||||
}
|
||||
|
||||
export function setShowTagInTransactionListPage(value) {
|
||||
setOption('showTagInTransactionListPage', value);
|
||||
}
|
||||
|
||||
export function isShowAccountBalance() {
|
||||
return getOption('showAccountBalance');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user