mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix: improvements to bank matching transactions
This commit is contained in:
@@ -69,6 +69,14 @@ function AccountDeleteTransactionAlert({
|
||||
'Cannot delete transaction converted from uncategorized transaction but you uncategorize it.',
|
||||
intent: Intent.DANGER,
|
||||
});
|
||||
} else if (
|
||||
errors.find((e) => e.type === 'CANNOT_DELETE_TRANSACTION_MATCHED')
|
||||
) {
|
||||
AppToaster.show({
|
||||
message:
|
||||
'Cannot delete a transaction matched to the bank transaction',
|
||||
intent: Intent.DANGER,
|
||||
});
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user