[Koha-bugs] [Bug 18580] Account-pay does not apply credits / clear old fines as did recordpayment

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 27 14:33:32 CEST 2017


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |katrin.fischer at bsz-bw.de

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Colin,
I think the behaviour is still a bit odd. Your patch works, but only if the
fine was created first. I think sequence should not matter?

I have made sure to restart Plack after applying the patch:

Test plan:
1) Created to fines, 1.00 each
2) Created a credit, 1.00
3) Balance is at 1.00
4) Pay amount of 1.00
   1.00 is paid, Credit and other fine remain unchanged (amount <> 0)

1) Created a credit, 1.00
2) Created to fines, 1.00 each
3) Balance is at 1.00
4) Pay amount of 1.00
   All amount outstanding are set to 0.00. Good.

I appears it only works if the credit was created before the fines were. 
I used a fresh patron account for each test.

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


More information about the Koha-bugs mailing list