[Koha-bugs] [Bug 15397] Pay selected does not works as expected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 21 17:43:26 CET 2016


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

Sally Healey <sally.healey at cheshiresharedservices.gov.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sally.healey at cheshireshared
                   |                            |services.gov.uk

--- Comment #6 from Sally Healey <sally.healey at cheshiresharedservices.gov.uk> ---
Test Plan:

1)  Create invoices on the account.
2)  Use 'Pay selected' to pay off one line using the correct money.

Outcome:  Works as expected.

3)  Create invoices on the account
4)  Use 'Pay selected' to pay off several lines using the correct money.

Outcome:  Works as expected.

5)  Create invoices on the account
6)  Use 'Pay selected' to partially pay off one line.

Outcome:  Works as expected.

7)  Create invoices on the account
8)  Use 'Pay selected' to partially pay off several lines.

Outcome:  Works as expected.

9)  Create invoices on the account
10)  Use 'Pay selected' to fully pay off one specific line, and partially pay
off another specific line.

Outcome:  Works as expected.

The only thing that doesn't work correctly is overpaying on a single line.  

For instance, a patron owes £3 on one line and £4 on another line.  They
dispute the £4 line, but they're happy to pay the £3 line.  They use a £5  note
to pay the £3 line, and expect £2 change. 

9)  Create invoices on the account
10)  Use ''Pay selected' to overpay a single line.

Outcome:  You must pay a value less than or equal to 3.00

If you attempt again, the error message will start to count all of the lines: 
You must pay a value less than or equal to 7.00

...and then paying again will cause the whole 5.00 to be taken (£3 off one
line, and £2 partial payment of the £4 line).

Again, I think this patch resolves the 'pay selected' issue that was initially
reported.  

Would we consider the overpayment of a single line problem as a separate issue?

-- 
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