mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
code refactor
This commit is contained in:
@@ -335,7 +335,7 @@ export function useTransactionListPageBase() {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDisplayMonthTotalAmount(amount: number, currency: string, symbol: string, incomplete: boolean): string {
|
function getDisplayMonthTotalAmount(amount: number, currency: string | false, symbol: string, incomplete: boolean): string {
|
||||||
const displayAmount = formatAmountWithCurrency(amount, currency);
|
const displayAmount = formatAmountWithCurrency(amount, currency);
|
||||||
return symbol + displayAmount + (incomplete ? '+' : '');
|
return symbol + displayAmount + (incomplete ? '+' : '');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user