feat: Add transactions by given reference report.

This commit is contained in:
a.bouhuolia
2021-08-01 11:36:03 +02:00
parent 3546b6b7ae
commit 64c4965451
7 changed files with 309 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
export interface ITransactionsByReferenceQuery {
referenceType: string;
referenceId: string;
}
export interface ITransactionsByReferenceAmount {
amount: number;
formattedAmount: string;
currencyCode: string;
}
export interface ITransactionsByReferenceTransaction{
credit: ITransactionsByReferenceAmount;
debit: ITransactionsByReferenceAmount;
contactType: string;
formattedContactType: string;
contactId: number;
referenceType: string;
formattedReferenceType: string;
referenceId: number;
accountName: string;
accountCode: string;
accountId: number;
}

View File

@@ -55,6 +55,7 @@ export * from './CashFlow';
export * from './InventoryDetails';
export * from './LandedCost';
export * from './Entry';
export * from './TransactionsByReference';
export interface I18nService {
__: (input: string) => string;