Go to a patron's account, then Accounting tab Create a manual invoice and save Go to Make a payment tab Click 'Pay amount', then cancel Notice you are redirected to the Transactions tab, rather than back to Make a payment The behaviour is the same for Pay selected and Writeoff selected.
Created attachment 84102 [details] [review] Bug 22148: Changed where user is redirected by cancelling payment To test: 1) Create a manual invoice and save 2) Go to Make a payment tab 3) Click 'Pay amount', then cancel 4) Notice you are redirected to the Transactions tab, rather than back to Make a payment 5) Also try this with Pay selected and write off selected result when cancelling should be the same 6) Apply patch and try steps 2-6 again 7) Verify that you are now redirected to the 'make a payment tab'
Created attachment 84132 [details] [review] Bug 22148: Changed where user is redirected by cancelling payment To test: 1) Create a manual invoice and save 2) Go to Make a payment tab 3) Click 'Pay amount', then cancel 4) Notice you are redirected to the Transactions tab, rather than back to Make a payment 5) Also try this with Pay selected and write off selected result when cancelling should be the same 6) Apply patch and try steps 2-6 again 7) Verify that you are now redirected to the 'make a payment tab' Signed-off-by: David Nind <david@davidnind.com>
Created attachment 84439 [details] [review] Bug 22148: Changed where user is redirected by cancelling payment To test: 1) Create a manual invoice and save 2) Go to Make a payment tab 3) Click 'Pay amount', then cancel 4) Notice you are redirected to the Transactions tab, rather than back to Make a payment 5) Also try this with Pay selected and write off selected result when cancelling should be the same 6) Apply patch and try steps 2-6 again 7) Verify that you are now redirected to the 'make a payment tab' Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>
Created attachment 84446 [details] [review] Bug 22148: Changed where user is redirected by cancelling payment To test: 1) Create a manual invoice and save 2) Go to Make a payment tab 3) Click 'Pay amount', then cancel 4) Notice you are redirected to the Transactions tab, rather than back to Make a payment 5) Also try this with Pay selected and write off selected result when cancelling should be the same 6) Apply patch and try steps 2-6 again 7) Verify that you are now redirected to the 'make a payment tab' Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Awesome work all! Pushed to master for 19.05
Enhancement, will not be backported to 18.11.x series.