WIP: transactions by customers report.

This commit is contained in:
a.bouhuolia
2021-05-06 03:10:14 +02:00
parent 97d12d4294
commit c57f2de970
6 changed files with 288 additions and 31 deletions

View File

@@ -3,6 +3,7 @@ import { INumberFormatQuery } from './FinancialStatements';
export interface ITransactionsByCustomersAmount {
amount: number;
formattedAmount: string;
currencyCode: string;
}
export interface ITransactionsByCustomersTransaction {
@@ -10,9 +11,11 @@ export interface ITransactionsByCustomersTransaction {
credit: ITransactionsByCustomersAmount;
debit: ITransactionsByCustomersAmount;
runningBalance: ITransactionsByCustomersAmount;
currencyCode: string;
referenceNumber: string;
transactionNumber: string;
}
createdAt: string|Date,
};
export interface ITransactionsByCustomersCustomer {
customerName: string;
@@ -29,9 +32,7 @@ export interface ITransactionsByCustomersFilter {
noneZero: boolean;
}
export interface ITransactionsByCustomersData {
customers: ITransactionsByCustomersCustomer[];
}
export type ITransactionsByCustomersData = ITransactionsByCustomersCustomer[];
export interface ITransactionsByCustomersStatement {
data: ITransactionsByCustomersData;