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

--- Comment #22 from Nick Clemens <[email protected]> ---
Created attachment 127635
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127635&action=edit
Bug 29474: Pass rules/branchcode to subroutines, further simplify logic

If we are going to decouple 'too_soon' from auto_renewals we should only call
GetSoonestDate once

Additionally, we can fetch all needed rules at once and pass to subroutines as
needed

Rather than check in the sub, let's not call _CanBookBeAutoRenewed if we aren't
set for auto_renew

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to