[Koha-bugs] [Bug 8054] can hit submit twice when paying fines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 12:24:06 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8054

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14432|0                           |1
        is obsolete|                            |

--- Comment #10 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 15971
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15971&action=edit
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 at bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list