[Koha-bugs] [Bug 30003] New: When leaving 'Amount Tendered' blank, then filling in a value, two transactions are recorded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 2 12:51:55 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30003

            Bug ID: 30003
           Summary: When leaving 'Amount Tendered' blank, then filling in
                    a value, two transactions are recorded
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jake.deery at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

(Possibly related to #28163 at a code level)

Hi,

One of our customers has raised a curious bug involving the Point of Sale
module within Koha. Specifically, when processing a payment in Koha, if the
'amount tendered' field is left blank, then filled in after the 'this field is
mandatory' text appears, the transaction seems to be recorded twice.

Please see here for a visual demo: https://i.imgur.com/upH5zlk.gifv 

Steps to reproduce:
1.  Navigate to /cgi-bin/koha/pos/pay.pl
2.  Add an item from 'items to purchase'
3.  Under 'collect payment', click submit without altering the form
4.  See 'This field is required.'
5.  Now, fill a value in 'Amount tendered' that satisfies or exceeds 'Amount
being paid'
6.  The payment should succeed 
7.  Navigate to /cgi-bin/koha/pos/register.pl
8.  See duplicate lines in Transactions

I hope we can see this resolved quickly, as it has the potential to cause major
accounting issues.

Many thanks,
Jake Deery

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


More information about the Koha-bugs mailing list