mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: customer balance and transactions report.
This commit is contained in:
@@ -4,11 +4,13 @@ import {
|
||||
IContactBalanceSummaryQuery,
|
||||
IContactBalanceSummaryAmount,
|
||||
IContactBalanceSummaryPercentage,
|
||||
IContactBalanceSummaryTotal
|
||||
IContactBalanceSummaryTotal,
|
||||
} from './ContactBalanceSummary';
|
||||
|
||||
export interface ICustomerBalanceSummaryQuery
|
||||
extends IContactBalanceSummaryQuery {}
|
||||
extends IContactBalanceSummaryQuery {
|
||||
customersIds?: number[];
|
||||
}
|
||||
|
||||
export interface ICustomerBalanceSummaryAmount
|
||||
extends IContactBalanceSummaryAmount {}
|
||||
@@ -22,7 +24,8 @@ export interface ICustomerBalanceSummaryCustomer {
|
||||
percentageOfColumn?: ICustomerBalanceSummaryPercentage;
|
||||
}
|
||||
|
||||
export interface ICustomerBalanceSummaryTotal extends IContactBalanceSummaryTotal {
|
||||
export interface ICustomerBalanceSummaryTotal
|
||||
extends IContactBalanceSummaryTotal {
|
||||
total: ICustomerBalanceSummaryAmount;
|
||||
percentageOfColumn?: ICustomerBalanceSummaryPercentage;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ export interface ILedger {
|
||||
whereContactId(contactId: number): ILedger;
|
||||
whereFromDate(fromDate: Date | string): ILedger;
|
||||
whereToDate(toDate: Date | string): ILedger;
|
||||
getClosingBalance(): number;
|
||||
}
|
||||
|
||||
export interface ILedgerEntry {
|
||||
|
||||
Reference in New Issue
Block a user