mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
migrate transaction edit page to composition API and typescript
This commit is contained in:
@@ -20,14 +20,14 @@ import {
|
||||
} from './category.ts';
|
||||
|
||||
export interface SetTransactionOptions {
|
||||
type: number;
|
||||
categoryId: string;
|
||||
accountId: string;
|
||||
destinationAccountId: string;
|
||||
amount: number;
|
||||
destinationAmount: number;
|
||||
tagIds: string;
|
||||
comment: string;
|
||||
type?: number;
|
||||
categoryId?: string;
|
||||
accountId?: string;
|
||||
destinationAccountId?: string;
|
||||
amount?: number;
|
||||
destinationAmount?: number;
|
||||
tagIds?: string;
|
||||
comment?: string;
|
||||
}
|
||||
|
||||
function getDisplayAmount(amount: number, currency: string, hideAmount: boolean, formatAmountWithCurrencyFunc: (value: number | string, currencyCode?: string) => string): string {
|
||||
|
||||
Reference in New Issue
Block a user