Hi John,

On Fri, Oct 24, 2008 at 7:59 AM, John Beppu <[EMAIL PROTECTED]> wrote:
> I added some code to detect the rows which were blank, and
> I deleted them upon saving the form.
> ---
>  tools/overduerules.pl |   27 ++++++++++++++++++++++++++-
[snip]
> +my @category_codes  = qw(B HB IL J K L PT SC ST YA);

This is hardcoding the patron categories.  Patron categories are
actually coming from the database, and can be configured by the Koha
administrator, so you'll want to use a query like

SELECT description,categorycode FROM categories WHERE overduenoticerequired>0

as found in line 155 of the unpatched script.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
[EMAIL PROTECTED]
p: 1-888-564-2457 x709
skype: gmcharlt
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to