[Koha-devel] Automatic renewal feature
Holger Meissner
Holger.Meissner at hs-gesundheit.de
Mon Jan 20 13:17:04 CET 2014
Galen Charlton wrote:
> Yes. Here is how I suggest doing it:
>
> - add an auto_renew flag to both issuingrules and issues
> - when a loan is made, issues.auto_renew is set to the value of issuingrules.auto_renew
> from the loan rule that was applied.
> - the cronjob checks issues.auto_renew -- in other words, it doesn't go back and check
> issuingrules again, it just goes by the value set on the loan itself.
Very well. Additionally I suppose to add norenewalbefore to issuingrules. I'm not sure what it should be called? It's about when to renew, X days or hours before due date. This would be checked by CanBookBeRenewed and could be used to control the cronjob as well as solve bug 7413.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7413
May I assign 7413 to myself, or just write a patch without assignment?
Updated the RFC:
http://wiki.koha-community.org/wiki/Automatic_renewal_RFC
Regards
Holger
More information about the Koha-devel
mailing list