support credit card billing cycles as a time granularity option in the account balance trend chart on the account reconciliation statements page

This commit is contained in:
MaysWind
2026-04-10 02:26:55 +08:00
parent d44798bf0f
commit a604737c7c
30 changed files with 163 additions and 30 deletions
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Jährlich",
"Quarterly": "Vierteljährlich",
"Monthly": "Monatlich",
"Daily": "Täglich"
"Daily": "Täglich",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Westlich-arabische Ziffern",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Nach Quartal aggregieren",
"Aggregate by Year": "Nach Jahr aggregieren",
"Aggregate by Fiscal Year": "Nach Geschäftsjahr aggregieren",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Jahresvergleich",
"Period-over-Period": "Periodenvergleich",
"Filter Accounts": "Konten filtern",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Yearly",
"Quarterly": "Quarterly",
"Monthly": "Monthly",
"Daily": "Daily"
"Daily": "Daily",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Aggregate by Quarter",
"Aggregate by Year": "Aggregate by Year",
"Aggregate by Fiscal Year": "Aggregate by Fiscal Year",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Filter Accounts",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Anual",
"Quarterly": "Trimestral",
"Monthly": "Mensual",
"Daily": "Diario"
"Daily": "Diario",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Cifras Arábigas Occidentales",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Agregado por Trimestre",
"Aggregate by Year": "Agregado por Año",
"Aggregate by Fiscal Year": "Agregado por Año Fiscal",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Filtrar cuentas",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Annuel",
"Quarterly": "Trimestriel",
"Monthly": "Mensuel",
"Daily": "Quotidien"
"Daily": "Quotidien",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Chiffres arabes occidentaux",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Agréger par trimestre",
"Aggregate by Year": "Agréger par année",
"Aggregate by Fiscal Year": "Agréger par année fiscale",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Filtrer les comptes",
+10 -3
View File
@@ -634,7 +634,7 @@ export function useI18n() {
return ret;
}
function getLocalizedChartDateAggregationTypeAndDisplayName(analysisType: StatisticsAnalysisType, fullName: boolean): TypeAndDisplayName[] {
function getLocalizedChartDateAggregationTypeAndDisplayName(analysisType: StatisticsAnalysisType, fullName: boolean, includeBillingCycle: boolean): TypeAndDisplayName[] {
const ret: TypeAndDisplayName[] = [];
const allTypes: ChartDateAggregationType[] = ChartDateAggregationType.values(analysisType);
@@ -645,6 +645,13 @@ export function useI18n() {
});
}
if (includeBillingCycle) {
ret.push({
type: ChartDateAggregationType.BillingCycle.type,
displayName: t(fullName ? ChartDateAggregationType.BillingCycle.fullName : `granularity.${ChartDateAggregationType.BillingCycle.shortName}`)
});
}
return ret;
}
@@ -2432,8 +2439,8 @@ export function useI18n() {
getAllAccountBalanceTrendChartTypes: () => getLocalizedDisplayNameAndType(AccountBalanceTrendChartType.values()),
getAllStatisticsChartDataTypes: (analysisType: StatisticsAnalysisType, withDesktopOnlyChart?: boolean) => getLocalizedDisplayNameAndType(ChartDataType.values(analysisType, withDesktopOnlyChart)),
getAllStatisticsSortingTypes: (useAlternativeName?: boolean) => getLocalizedDisplayNameAndType(ChartSortingType.values(), useAlternativeName),
getAllStatisticsDateAggregationTypes: (analysisType: StatisticsAnalysisType) => getLocalizedChartDateAggregationTypeAndDisplayName(analysisType, true),
getAllStatisticsDateAggregationTypesWithShortName: (analysisType: StatisticsAnalysisType) => getLocalizedChartDateAggregationTypeAndDisplayName(analysisType, false),
getAllStatisticsDateAggregationTypes: (analysisType: StatisticsAnalysisType, includeBillingCycle: boolean) => getLocalizedChartDateAggregationTypeAndDisplayName(analysisType, true, includeBillingCycle),
getAllStatisticsDateAggregationTypesWithShortName: (analysisType: StatisticsAnalysisType, includeBillingCycle: boolean) => getLocalizedChartDateAggregationTypeAndDisplayName(analysisType, false, includeBillingCycle),
getAllTransactionEditScopeTypes: () => getLocalizedDisplayNameAndType(TransactionEditScopeType.values()),
getAllTransactionQuickSaveButtonStyles: () => getLocalizedDisplayNameAndType(TransactionQuickSaveButtonStyle.values()),
getAllTransactionQuickAddButtonActionTypes: () => getLocalizedDisplayNameAndType(TransactionQuickAddButtonActionType.values()),
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Yearly",
"Quarterly": "Quarterly",
"Monthly": "Monthly",
"Daily": "Daily"
"Daily": "Daily",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Aggrega per trimestre",
"Aggregate by Year": "Aggrega per anno",
"Aggregate by Fiscal Year": "Aggregate by Fiscal Year",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Filtra conti",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Yearly",
"Quarterly": "Quarterly",
"Monthly": "Monthly",
"Daily": "Daily"
"Daily": "Daily",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "四半期ごとに集計",
"Aggregate by Year": "年ごとに集計",
"Aggregate by Fiscal Year": "Aggregate by Fiscal Year",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "口座で絞り込み",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "ವಾರ್ಷಿಕ",
"Quarterly": "ತ್ರೈಮಾಸಿಕ",
"Monthly": "ಮಾಸಿಕ",
"Daily": "ದೈನಂದಿನ"
"Daily": "ದೈನಂದಿನ",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "ತ್ರೈಮಾಸಿಕ ಒಕ್ಕೂಟ",
"Aggregate by Year": "ವರ್ಷವಾರು ಒಕ್ಕೂಟ",
"Aggregate by Fiscal Year": "ಹಣಕಾಸು ವರ್ಷವಾರು ಒಕ್ಕೂಟ",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "ಖಾತೆಗಳನ್ನು ಫಿಲ್ಟರ್ ಮಾಡಿ",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "연간",
"Quarterly": "분기별",
"Monthly": "월간",
"Daily": "일간"
"Daily": "일간",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "서양 아라비아 숫자",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "분기별 집계",
"Aggregate by Year": "연도별 집계",
"Aggregate by Fiscal Year": "회계 연도별 집계",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "계좌 필터",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Jaarlijks",
"Quarterly": "Per kwartaal",
"Monthly": "Maandelijks",
"Daily": "Dagelijks"
"Daily": "Dagelijks",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Groeperen per kwartaal",
"Aggregate by Year": "Groeperen per jaar",
"Aggregate by Fiscal Year": "Groeperen per boekjaar",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Rekeningen filteren",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Anual",
"Quarterly": "Trimestral",
"Monthly": "Mensal",
"Daily": "Diário"
"Daily": "Diário",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Algarismos Arábicos Ocidentais",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Agregar por Trimestre",
"Aggregate by Year": "Agregar por Ano",
"Aggregate by Fiscal Year": "Agregar por Ano Fiscal",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Filtrar Contas",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Ежегодно",
"Quarterly": "Ежеквартально",
"Monthly": "Ежемесячно",
"Daily": "Ежедневно"
"Daily": "Ежедневно",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Западно арабские цифры",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Агрегировать по кварталам",
"Aggregate by Year": "Агрегировать по годам",
"Aggregate by Fiscal Year": "Агрегировать по фискальным годам",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Фильтровать счета",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Letno",
"Quarterly": "Četrtletno",
"Monthly": "Mesečno",
"Daily": "Dnevno"
"Daily": "Dnevno",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Zahodne arabske številke",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Združi po četrtletjih",
"Aggregate by Year": "Združi po letih",
"Aggregate by Fiscal Year": "Združi po fiskalnih letih",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Filtriraj račune",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "ஆண்டுவாரியாக",
"Quarterly": "காலாண்டு வாரியாக",
"Monthly": "மாதாந்திர",
"Daily": "தினசரி"
"Daily": "தினசரி",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "மேற்கத்திய அரபு எண்கள்",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "காலாண்டு கூட்டமைப்பு",
"Aggregate by Year": "ஆண்டுவாரி கூட்டமைப்பு",
"Aggregate by Fiscal Year": "நிதி ஆண்டுவாரி கூட்டமைப்பு",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "கணக்குகளை வடிகட்டி செய்",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "รายปี",
"Quarterly": "รายไตรมาส",
"Monthly": "รายเดือน",
"Daily": "รายวัน"
"Daily": "รายวัน",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "เลขอารบิกตะวันตก",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "รวมตามไตรมาส",
"Aggregate by Year": "รวมตามปี",
"Aggregate by Fiscal Year": "รวมตามปีงบประมาณ",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "กรองบัญชี",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Yıllık",
"Quarterly": "Çeyreklik",
"Monthly": "Aylık",
"Daily": "Günlük"
"Daily": "Günlük",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Batı Arap Rakamları",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Çeyreğe Göre Topla",
"Aggregate by Year": "Yıla Göre Topla",
"Aggregate by Fiscal Year": "Mali Yıla Göre Topla",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Hesapları Filtrele",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Yearly",
"Quarterly": "Quarterly",
"Monthly": "Monthly",
"Daily": "Daily"
"Daily": "Daily",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Агрегувати за кварталами",
"Aggregate by Year": "Агрегувати за роками",
"Aggregate by Fiscal Year": "Aggregate by Fiscal Year",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Фільтрувати рахунки",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "Yearly",
"Quarterly": "Quarterly",
"Monthly": "Monthly",
"Daily": "Daily"
"Daily": "Daily",
"BillingCycle": "Billing Cycle"
},
"numeral": {
"Western Arabic Numerals": "Western Arabic Numerals",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "Tổng hợp theo quý",
"Aggregate by Year": "Tổng hợp theo năm",
"Aggregate by Fiscal Year": "Aggregate by Fiscal Year",
"Aggregate by Billing Cycle": "Aggregate by Billing Cycle",
"Year-over-Year": "Year-over-Year",
"Period-over-Period": "Period-over-Period",
"Filter Accounts": "Lọc tài khoản",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "按年",
"Quarterly": "按季度",
"Monthly": "按月",
"Daily": "按天"
"Daily": "按天",
"BillingCycle": "按账单周期"
},
"numeral": {
"Western Arabic Numerals": "阿拉伯数字",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "按季度聚合",
"Aggregate by Year": "按年聚合",
"Aggregate by Fiscal Year": "按财年聚合",
"Aggregate by Billing Cycle": "按账单周期聚合",
"Year-over-Year": "同比",
"Period-over-Period": "环比",
"Filter Accounts": "过滤账户",
+3 -1
View File
@@ -294,7 +294,8 @@
"Yearly": "依年份",
"Quarterly": "依季度",
"Monthly": "依月份",
"Daily": "依日期"
"Daily": "依日期",
"BillingCycle": "依帳單週期"
},
"numeral": {
"Western Arabic Numerals": "阿拉伯數字",
@@ -2210,6 +2211,7 @@
"Aggregate by Quarter": "依季度彙整",
"Aggregate by Year": "依年份彙整",
"Aggregate by Fiscal Year": "依財年彙整",
"Aggregate by Billing Cycle": "依帳單週期彙整",
"Year-over-Year": "同比",
"Period-over-Period": "環比",
"Filter Accounts": "篩選帳戶",