mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: filter the uncategorized transactions out of matched transactions
This commit is contained in:
@@ -14,15 +14,15 @@ export class ValidateMatchingOnExpenseDelete {
|
||||
public attach(bus) {
|
||||
bus.subscribe(
|
||||
events.expenses.onDeleting,
|
||||
this.validateMatchingOnExpenseDelete.bind(this)
|
||||
this.validateMatchingOnExpenseDeleting.bind(this)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Validates the expense transaction whether matched with bank transaction on deleting.
|
||||
* @param {IExpenseEventDeletePayload}
|
||||
*/
|
||||
public async validateMatchingOnExpenseDelete({
|
||||
public async validateMatchingOnExpenseDeleting({
|
||||
tenantId,
|
||||
oldExpense,
|
||||
trx,
|
||||
|
||||
Reference in New Issue
Block a user