Files
bigcapital/packages/server/src/interfaces/AgingReport.ts
2023-02-03 11:57:50 +02:00

23 lines
440 B
TypeScript

export interface IAgingPeriodTotal extends IAgingPeriod {
total: IAgingAmount;
};
export interface IAgingAmount {
amount: number;
formattedAmount: string;
currencyCode: string;
}
export interface IAgingPeriod {
fromPeriod: Date | string;
toPeriod: Date | string;
beforeDays: number;
toDays: number;
}
export interface IAgingSummaryContact {
current: IAgingAmount;
aging: IAgingPeriodTotal[];
total: IAgingAmount;
}