mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
support setting timezone type for the time range of statistical data
This commit is contained in:
@@ -580,11 +580,13 @@ export const useStatisticsStore = defineStore('statistics', {
|
||||
},
|
||||
loadTransactionStatistics({ force }) {
|
||||
const self = this;
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
services.getTransactionStatistics({
|
||||
startTime: self.transactionStatisticsFilter.startTime,
|
||||
endTime: self.transactionStatisticsFilter.endTime
|
||||
endTime: self.transactionStatisticsFilter.endTime,
|
||||
useTransactionTimezone: settingsStore.appSettings.statistics.defaultTimezoneType
|
||||
}).then(response => {
|
||||
const data = response.data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user