[Koha-bugs] [Bug 23012] Possibility to mark processing fee by default refund when item is found

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 24 13:23:47 CEST 2022


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

--- Comment #26 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 142485
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142485&action=edit
Bug 23012: (QA follow-up) Combine method to get both values

The code for get_processingreturn_policy was very similar to
get_lostreturn_policy. Combining the two methods allows for use of
get_effective_rules which uses get_effective_rule_value which is cached.
This should reduce lines of code and improve performance

Tests updated and adjusted as well

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list