mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-11 02:10:30 +00:00
45 lines
888 B
TypeScript
45 lines
888 B
TypeScript
|
|
import { INumberFormatQuery } from './FinancialStatements';
|
|
|
|
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;
|
|
}
|
|
|
|
export interface IAgingSummaryQuery {
|
|
asDate: Date | string;
|
|
agingDaysBefore: number;
|
|
agingPeriods: number;
|
|
numberFormat: INumberFormatQuery;
|
|
branchesIds: number[];
|
|
noneZero: boolean;
|
|
}
|
|
|
|
export interface IAgingSummaryTotal {
|
|
current: IAgingAmount;
|
|
aging: IAgingPeriodTotal[];
|
|
total: IAgingAmount;
|
|
}
|
|
|
|
export interface IAgingSummaryData {
|
|
total: IAgingSummaryTotal;
|
|
}
|