[Bug 14672] New: Payment is not able to done, when the patron has credit balance
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 Bug ID: 14672 Summary: Payment is not able to done, when the patron has credit balance Change sponsored?: --- Product: Koha Version: 3.18 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: deepakkv10@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Created attachment 41446 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41446&action=edit Error message I am not able to pay the patron fine from their credit amount. First I selected the fine from the 'Pay fine' tab(fine amount = 5, Credit amount = -600 , Total due = -595) then I clicked 'Pay selected' (It shows : Total amount outstanding = 5 and Collect from patron = 5) When I clicked 'Confirm' It shows an error 'You must pay a value less than or equal to -595.00' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Version|3.18 |master CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- A workaround for paying single lines of fines is using the 'pay' button - but this needs to be fixed to pay multiple selected fines. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 --- Comment #2 from Joonas Kylmälä <j.kylmala@gmail.com> --- Created attachment 41612 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41612&action=edit Bug 14672 - Payment is not able to done, when the patron has credit balance Enables paying with credit, at least when using C4::Accounts::recordpayment function. The code is still buggy and needs more work. Sponsored-by Vaara-kirjastot -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 Joonas Kylmälä <j.kylmala@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.kylmala@gmail.com --- Comment #3 from Joonas Kylmälä <j.kylmala@gmail.com> --- You can try the above patch I just made, it works like that that you have first few invoice and credit entries in the patron's account you're testing, and then after that go and pay all the fines/invoices at once, and it should work. I think that the result of it wasn't consistent all the time, but it might have been... I will look into testing this tomorrow and hope that some of you will also! :) Is the implementation way I used good? I think we need to implement the same kind of code also in recordpayment_selectaccts, makepartialpayment, makepayment, etc. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 Joonas Kylmälä <j.kylmala@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41612|0 |1 is obsolete| | --- Comment #4 from Joonas Kylmälä <j.kylmala@gmail.com> --- Created attachment 41647 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41647&action=edit Bug 14672 - Payment is not able to done, when the patron has credit balance This is fixed version of the yesterday's patch, the credit was calculated wrongly and now it's fixed. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 Jonathan Field <jonathan.field@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.field@ptfs-europe. | |com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 sally.healey@cheshirewestandchester.gov.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sally.healey@cheshirewestan | |dchester.gov.uk -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14672 Aleisha Amohia <aleishaamohia@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleishaamohia@hotmail.com --- Comment #5 from Aleisha Amohia <aleishaamohia@hotmail.com> --- Is this ready for testing? -- 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