[Bug 27433] New: Issue refund button appears after applying a discount
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27433 Bug ID: 27433 Summary: Issue refund button appears after applying a discount Change sponsored?: --- Product: Koha Version: 20.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Fines and fees Assignee: koha-bugs@lists.koha-community.org Reporter: marjorie.barry-vila@collecto.ca QA Contact: testopia@bugs.koha-community.org Created attachment 115163 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115163&action=edit issue refund Hi, In the 20.05 version, after using the "Apply discount" button, the "Issue refund" button appears. If there was a discount given on a fine, it shoudn't be possible to refund that amount. Only the fully or partially paid fines should. Is this the right way to use the "Issue refund" button? Regards, Marjorie -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27433 Patrick Robitaille <patrick.robitaille@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.robitaille@collecto | |.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27433 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27433 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |14825 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14825 [Bug 14825] Accounts Rewrite Omnibus -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27433 --- Comment #1 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Hmm, I see what you mean. I'm not sure how to resolve this one.. we don't really have easy access to how the outstanding amount was offset at this level. The current code looks for any debit lines that have been at least partially 'paid'.. but 'paid' in this case means 'offset' and a discount is an offset the same way a payment or credit it. [% IF CAN_user_updatecharges_refund && account.is_debit && ( account.amountoutstanding != account.amount ) && !(account.status == 'REFUNDED') && !(account.debit_type_code == 'PAYOUT') %] I'll have a think -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27433 --- Comment #2 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I think perhaps we need to impliment some of the idea's in https://wiki.koha-community.org/wiki/Account_view_RFC prior to being able to fix this.. that way we add context to the display lines. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org