<div dir="ltr">Those sound like good ideas to me! We could add a system pref for "follow rules from the time of checkout" vs "follow current rules". I think the opaque key isn't a bad idea either. Rules could be set to 'active' or 'inactive' so that previous checkouts could follow these inactive rules but new checkouts would ignore them.<div>
<br></div><div style>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> )<br>
Meadville Public Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> )<br>Crawford County Federated Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<br>
Mill Run Technology Solutions ( <a href="http://millruntech.com" target="_blank">http://millruntech.com</a> )<br></div>
<br><br><div class="gmail_quote">On Fri, May 24, 2013 at 12:05 PM, Galen Charlton <span dir="ltr"><<a href="mailto:gmc@esilibrary.com" target="_blank">gmc@esilibrary.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
There's been some discussion in the comments for bug 10120 [1] about<br>
the notion of storing whether an loan is hourly or not in the loan<br>
record itself.  I'd like to expand this discussion to include the<br>
notion of storing a copy of all relevant circ policy in the loan.  In<br>
particular, I'm thinking of<br>
<br>
- fine<br>
- finedays<br>
- chargeperiod<br>
- issuelength<br>
- lengthunit<br>
- renewalsallowed<br>
- renewalperiod<br>
- overduefinescap<br>
<br>
Doing this would help solve the immediate problem for bug 10120 of<br>
allowing us to (cheaply) determine if a loan is hourly and therefore<br>
should always have its fines recalculated upon checkin, but it would<br>
have some other advantages:<br>
<br>
- it would make it easier to decide if a given due date display should<br>
include the due time or not<br>
- it allows staff to change circ policies (and in particular, fine<br>
policies) without having to worry about affecting current loans.<br>
<br>
On the other hand, perhaps there are times when some libraries *do*<br>
want to make a policy change affect current loans -- I'd appreciate<br>
hearing about real life examples if this is the case.<br>
<br>
Another possibility would be simply storing a reference to the<br>
applicable policy.  If we do it that way, we could give issuingrules<br>
an opaque primary key, but I think we'd then also have to have to<br>
teach that table how to keep track of old policy rows as well.<br>
<br>
Thoughts?<br>
<br>
[1] <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10120" target="_blank">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10120</a><br>
<br>
Regards,<br>
<br>
Galen<br>
--<br>
Galen Charlton<br>
Manager of Implementation<br>
Equinox Software, Inc. / The Open Source Experts<br>
email:  <a href="mailto:gmc@esilibrary.com">gmc@esilibrary.com</a><br>
direct: <a href="tel:%2B1%20770-709-5581" value="+17707095581">+1 770-709-5581</a><br>
cell:   <a href="tel:%2B1%20404-984-4366" value="+14049844366">+1 404-984-4366</a><br>
skype:  gmcharlt<br>
web:    <a href="http://www.esilibrary.com/" target="_blank">http://www.esilibrary.com/</a><br>
Supporting Koha and Evergreen: <a href="http://koha-community.org" target="_blank">http://koha-community.org</a> &<br>
<a href="http://evergreen-ils.org" target="_blank">http://evergreen-ils.org</a><br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
</blockquote></div><br></div>