https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18580
--- Comment #4 from Colin Campbell <colin.campb...@ptfs-europe.com> --- (In reply to Katrin Fischer from comment #3) > 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. I'll see if I can set up something to confirm what the old api did and see if I can see anywhere the new fails -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/