mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
35 lines
761 B
TypeScript
35 lines
761 B
TypeScript
import {
|
|
IAgingPeriod,
|
|
IAgingPeriodTotal
|
|
} from './AgingReport';
|
|
|
|
export interface IAPAgingSummaryQuery {
|
|
asDate: Date | string;
|
|
agingDaysBefore: number;
|
|
agingPeriods: number;
|
|
numberFormat: {
|
|
noCents: boolean;
|
|
divideOn1000: boolean;
|
|
};
|
|
vendorsIds: number[];
|
|
noneZero: boolean;
|
|
}
|
|
|
|
export interface IAPAgingSummaryVendor {
|
|
vendorName: string,
|
|
current: IAgingPeriodTotal,
|
|
aging: (IAgingPeriod & IAgingPeriodTotal)[],
|
|
total: IAgingPeriodTotal,
|
|
};
|
|
|
|
export interface IAPAgingSummaryTotal {
|
|
current: IAgingPeriodTotal,
|
|
aging: (IAgingPeriodTotal & IAgingPeriod)[],
|
|
};
|
|
|
|
export interface IAPAgingSummaryData {
|
|
vendors: IAPAgingSummaryVendor[],
|
|
total: IAPAgingSummaryTotal,
|
|
};
|
|
|
|
export type IAPAgingSummaryColumns = IAgingPeriod[]; |