mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
37 lines
777 B
TypeScript
37 lines
777 B
TypeScript
import {
|
|
IAgingPeriod,
|
|
IAgingPeriodTotal,
|
|
IAgingAmount
|
|
} from './AgingReport';
|
|
import {
|
|
INumberFormatQuery
|
|
} from './FinancialStatements';
|
|
|
|
export interface IAPAgingSummaryQuery {
|
|
asDate: Date | string;
|
|
agingDaysBefore: number;
|
|
agingPeriods: number;
|
|
numberFormat: INumberFormatQuery;
|
|
vendorsIds: number[];
|
|
noneZero: boolean;
|
|
}
|
|
|
|
export interface IAPAgingSummaryVendor {
|
|
vendorName: string,
|
|
current: IAgingAmount,
|
|
aging: IAgingPeriodTotal[],
|
|
total: IAgingAmount,
|
|
};
|
|
|
|
export interface IAPAgingSummaryTotal {
|
|
current: IAgingAmount,
|
|
aging: IAgingPeriodTotal[],
|
|
total: IAgingAmount,
|
|
};
|
|
|
|
export interface IAPAgingSummaryData {
|
|
vendors: IAPAgingSummaryVendor[],
|
|
total: IAPAgingSummaryTotal,
|
|
};
|
|
|
|
export type IAPAgingSummaryColumns = IAgingPeriod[]; |