mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
refactoring: balance sheet report.
refactoring: trial balance sheet report. refactoring: general ledger report. refactoring: journal report. refactoring: P&L report.
This commit is contained in:
45
server/src/interfaces/ARAgingSummaryReport.ts
Normal file
45
server/src/interfaces/ARAgingSummaryReport.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
|
||||
|
||||
export interface IARAgingSummaryQuery {
|
||||
asDate: Date | string,
|
||||
agingDaysBefore: number,
|
||||
agingPeriods: number,
|
||||
numberFormat: {
|
||||
noCents: number,
|
||||
divideOn1000: number,
|
||||
},
|
||||
customersIds: number[],
|
||||
noneZero: boolean,
|
||||
}
|
||||
|
||||
export interface IAgingPeriod {
|
||||
fromPeriod: Date,
|
||||
toPeriod: Date,
|
||||
beforeDays: number,
|
||||
toDays: number,
|
||||
};
|
||||
|
||||
export interface IAgingPeriodClosingBalance extends IAgingPeriod {
|
||||
closingBalance: number,
|
||||
};
|
||||
|
||||
export interface IAgingPeriodTotal extends IAgingPeriod {
|
||||
total: number,
|
||||
};
|
||||
|
||||
export interface ARAgingSummaryCustomerPeriod {
|
||||
|
||||
}
|
||||
|
||||
export interface ARAgingSummaryCustomerTotal {
|
||||
amount: number,
|
||||
formattedAmount: string,
|
||||
currencyCode: string,
|
||||
}
|
||||
|
||||
export interface ARAgingSummaryCustomer {
|
||||
customerName: string,
|
||||
aging: IAgingPeriodTotal[],
|
||||
total: ARAgingSummaryCustomerTotal,
|
||||
};
|
||||
Reference in New Issue
Block a user