]> git.koha-community.org Git - koha.git/commit
Bug 8054 - double clicking can cause duplicate payments/fines
authorLiz Rea <liz@catalyst.net.nz>
Thu, 27 Dec 2012 03:10:26 +0000 (16:10 +1300)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 16 Mar 2013 20:32:57 +0000 (09:32 +1300)
commit3796dcff66ff91f849ce396be9c6b960ac2ea4a7
tree28dda77af0de442c24176f17f2e36a9b9130d7fc
parent91b19f9f6a2520eb90409b9be10743a7e7783629
Bug 8054 - double clicking can cause duplicate payments/fines

Uses preventDoubleForSubmit() to prevent double form submissions in the fines module.

To test:

Create a manual invoice/fine
Create some manual fines, click save like mad - you should get only one fine (without, you will get several if you click madly enough)

Click Pay fines
Pay some fines, clicking save like mad on each. You should only get one payment. (without, you will get several payments)

Create a manual credit
Create a credit, click save like mad. You should only get one credit. (without you will get several if you click madly enough)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt