[Koha-devel] Issuing Rules

Jesse pianohacker at gmail.com
Mon Feb 18 18:45:01 CET 2008


On Feb 18, 2008 8:29 AM, C W Nel <zang at zang.co.za> wrote:
>
>
> Thanks Jesse
>
> Did you perhaps fix the chargeperiod problem? If you enter 1,7,7 the last 7
> disappears and is not written into the issuingrules table. (Ver2.2.9)

My little script (attached, along with a template for the default set)
is actually a replacement for issuingrules.pl. Instead of having a
massive table with two cells for every combination of itemtype and
category code, there is now just one row for each rule; if you have a
default rule, and rules for DVDs and Nonfiction, you will have three
rows, with a cell each for Fine Amount, First Remind, Amount Loanable,
etc. This is a rather large change, but it makes defining issuing
rules much simpler.

-- 
Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smart-rules.pl
Type: application/x-perl
Size: 5177 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20080218/6a975a4c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smart-rules.tmpl
Type: application/octet-stream
Size: 3526 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20080218/6a975a4c/attachment-0002.obj>


More information about the Koha-devel mailing list