fix(server): Transaction type of credit note and vendor credit are not defined on account transactions

This commit is contained in:
Ahmed Bouhuolia
2023-08-22 13:51:15 +02:00
parent b665d05526
commit f7b53692f5
5 changed files with 17 additions and 57 deletions

View File

@@ -0,0 +1,5 @@
import { TransactionTypes } from '@/data/TransactionTypes';
export const getTransactionTypeLabel = (transactionType: string) => {
return TransactionTypes[transactionType];
};