-
Notifications
You must be signed in to change notification settings - Fork 42
Adds 'reset status' functionality. Implements #383 #392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Great stuff! Does it work in both UI modes (traditional and simplified)? |
|
also... maybe we should add a configuration option to be able to turn this off, I could see that potentially causing a lot of havoc - e.g. when the reconciled transactions have been exported to accounting, and then somebody resets some of them. Until now, once processed, you cannot modify a transaction any more... |
|
Does this exclusively work on |
|
Right now, yes, it works exclusively for ignored transactions. Do you think it would be better to expand this to all of them ? I can also provide a checkbox configuration somewhere to allow to turn off this feature or not. Lastly, let me check because I worked on the traditional UI and not the simplified one |
I don't think that would be a good idea. Resetting the 'ignored' ones is already kind-of dodgy, but still waaay better then resetting otherwise processed transactions without being able to undo the changes that happened in the process (e.g. created contribution, extended membership, etc)
I think that would be great, see HERE
If it doesn't, that's also fine - just good to know. But then maybe add a note in with the configuration option (see first item of this post). |
|
I agree as well, resetting the status on normal transactions will cause a chaos in Production environments (good for testing but bad for live).
No problem! I will add that option
Sure thing! 😉 |
|
Right, so this last commit does the following:
If you are happy, I can squash the commits into one commit and force update this PR |
|
Sorry for my delayed comment (due to vacation). -->> this is really great work and a significant improvement for Civibanking! |
|
Remark: this is not in |
|
I would like to ask what the status is here? |
|
I'd like to join @MarcMichalsky in his question about including this in a recent release. I was able to apply the diff to release 1.2.0 by hand using Un-ignore (aka "Reset status") worked for me with this. Patching release 1.3.2 would be a tiny bit more complicated (because I did not succeed to apply the diff to 1.4.0-beta1. |
|
I created #501 as a rebased version of this PR, so that it doesn't go unnoticed anymore. |

This small addition implements a new functionality that will reset the status of the transaction from 'Processed' to 'New'. it will also remove the stored suggestions for that transaction.
This is being delivered into 2 parts:
api/v3/BankingTransaction.phpwe add a new function calledcivicrm_api3_banking_transaction_reset. It accepts the transaction ID as the one and only parameter./templates/CRM/Banking/Page/Review.tplwe add a new button on the analysed and ignored' transactions, along with an ajax call to the new API command mentioned above.Screenshots: