[Bug 40789] New: Amount tendered input allows submit on enter which leads to broken modal
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40789 Bug ID: 40789 Summary: Amount tendered input allows submit on enter which leads to broken modal Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: Point of Sale Assignee: koha-bugs@lists.koha-community.org Reporter: jrobb@sekls.org QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk The "Amount tendered" input (#tendered) at pos/pay.pl allows one to submit by hitting the enter key before a Payment type is selected. If the Amount tendered exceeds the Amount being paid, the modal that indicates how much change to give appears. The "Yes" button in the modal does not work and the transaction does not complete because a Payment type has not yet been selected. The easy solution seems to be to prevent that input from submitting when the enter key is pressed. To replicate: 1. Enable EnablePointOfSale and Use UseCashRegisters 2. Add a cash register 3. Add an item for purchase 4. Navigate to point of sale, add an item to the sale 5. Enter an amount tendered that exceeds the amount being paid 6. With the Amount tendered input still focused, hit enter. The "Change to give" modal pops up 7. Note the "Yes" button in the modal does not work -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40789 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE CC| |Laura.escamilla@bywatersolu | |tions.com --- Comment #1 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 38975 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40789 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |--- Status|RESOLVED |REOPENED --- Comment #2 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Sorry for my confusion. I'm reopening this one because both bugs are very very close but not the same. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org