mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: AR/AP aging summary report.
This commit is contained in:
@@ -17,13 +17,19 @@ export interface IAPAgingSummaryQuery {
|
||||
|
||||
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: (IAgingPeriod & IAgingPeriodTotal)[],
|
||||
}
|
||||
total: IAPAgingSummaryTotal,
|
||||
};
|
||||
|
||||
export type IAPAgingSummaryColumns = IAgingPeriod[];
|
||||
@@ -8,8 +8,8 @@ export interface IARAgingSummaryQuery {
|
||||
agingDaysBefore: number;
|
||||
agingPeriods: number;
|
||||
numberFormat: {
|
||||
noCents: number;
|
||||
divideOn1000: number;
|
||||
noCents: boolean;
|
||||
divideOn1000: boolean;
|
||||
};
|
||||
customersIds: number[];
|
||||
noneZero: boolean;
|
||||
@@ -17,13 +17,18 @@ export interface IARAgingSummaryQuery {
|
||||
|
||||
export interface IARAgingSummaryCustomer {
|
||||
customerName: string;
|
||||
current: IAgingPeriodTotal,
|
||||
aging: (IAgingPeriodTotal & IAgingPeriod)[];
|
||||
total: IAgingPeriodTotal;
|
||||
}
|
||||
|
||||
export interface IARAgingSummaryTotal {
|
||||
current: IAgingPeriodTotal,
|
||||
aging: (IAgingPeriodTotal & IAgingPeriod)[],
|
||||
};
|
||||
export interface IARAgingSummaryData {
|
||||
customers: IARAgingSummaryCustomer[],
|
||||
total: (IAgingPeriodTotal & IAgingPeriod)[]
|
||||
total: IARAgingSummaryTotal,
|
||||
}
|
||||
|
||||
export type IARAgingSummaryColumns = IAgingPeriod[];
|
||||
@@ -42,6 +42,9 @@ export interface IBill {
|
||||
amount: number,
|
||||
paymentAmount: number,
|
||||
|
||||
dueAmount: number,
|
||||
overdueDays: number,
|
||||
|
||||
invLotNumber: string,
|
||||
openedAt: Date | string,
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ export interface ISaleInvoice {
|
||||
invoiceDate: Date,
|
||||
dueDate: Date,
|
||||
dueAmount: number,
|
||||
overdueDays: number,
|
||||
customerId: number,
|
||||
entries: IItemEntry[],
|
||||
deliveredAt: string | Date,
|
||||
|
||||
@@ -35,5 +35,7 @@ export * from './TrialBalanceSheet';
|
||||
export * from './GeneralLedgerSheet'
|
||||
export * from './ProfitLossSheet';
|
||||
export * from './JournalReport';
|
||||
export * from './AgingReport';
|
||||
export * from './ARAgingSummaryReport';
|
||||
export * from './APAgingSummaryReport';
|
||||
export * from './Mailable';
|
||||
Reference in New Issue
Block a user