mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
fix: edit payment transaction
This commit is contained in:
@@ -28,7 +28,12 @@ export class GetBankRulesTransformer extends Transformer {
|
||||
* @returns {string}
|
||||
*/
|
||||
protected assignCategoryFormatted(bankRule: any) {
|
||||
return getCashflowTransactionFormattedType(bankRule.assignCategory);
|
||||
const translationKey = getCashflowTransactionFormattedType(
|
||||
bankRule.assignCategory,
|
||||
);
|
||||
return translationKey
|
||||
? this.context.i18n.t(translationKey)
|
||||
: bankRule.assignCategory;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user