http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7413
--- Comment #6 from Holger Meißner <[email protected]> --- Created attachment 24687 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24687&action=edit [PATCH 3/5] Bug 7413: Allow OPAC renewal x days before due date This patch modifies CanBookBeRenewed in Ciculation.pm, so that based on issuingrules.norenewalbefore a new error "too_soon" can be returned. For this error intranet HTML templates will display "Not renewable yet" instead of "Not renewable". To test: 1) Create an issuing rule with "No renewal before" set to value X and "Unit" set to days. 2) Confirm that items can't be renewed if current date is more than X days before due date. 3) Confirm that items can be renewed if "No renewal before" is undefined or current date is X or less days before due due. 4) Confirm that "Renewals allowed (count)" has priority, i.e. if the number of allowed renewals is exceeded "Not renewable" is displayed, no matter what "No renewal before" is set to. 5) Test the same things with "Unit" set to hours. 6) Test for both circulation.tt and moremember.tt. Sponsored-by: Hochschule für Gesundheit (hsg), Germany -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
