fix: Cashflow transactions types

This commit is contained in:
Ahmed Bouhuolia
2024-07-09 14:47:30 +02:00
parent aa89653967
commit 533006b90e
7 changed files with 113 additions and 25 deletions

View File

@@ -10,6 +10,7 @@ export default class AccountTransaction extends TenantModel {
debit: number;
exchangeRate: number;
taxRate: number;
transactionType: string;
/**
* Table name
@@ -53,7 +54,7 @@ export default class AccountTransaction extends TenantModel {
* @return {string}
*/
get referenceTypeFormatted() {
return getTransactionTypeLabel(this.referenceType);
return getTransactionTypeLabel(this.referenceType, this.transactionType);
}
/**