Merge pull request #511 from bigcapitalhq/BIG-208

feat: Bank rules for uncategorized transactions
This commit is contained in:
Ahmed Bouhuolia
2024-07-03 19:43:28 +02:00
committed by GitHub
180 changed files with 8249 additions and 289 deletions

View File

@@ -117,6 +117,12 @@ export const handleDeleteErrors = (errors) => {
intent: Intent.DANGER,
});
}
if (errors.find((e) => e.type === 'CANNOT_DELETE_TRANSACTION_MATCHED')) {
AppToaster.show({
intent: Intent.DANGER,
message: 'Cannot delete a transaction matched with a bank transaction.',
});
}
};
export function ActionsMenu({