26 Jul 2021 15:47:29 UTC
- Distribution: Koha-Contrib-Tamil
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (2)
- Testers (0 / 0 / 2)
- KwaliteeBus factor: 1
- % Coverage
- License: open_source
- Perl: v5.10.0
- Activity24 month
- Download (87.81KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionFREDERICD Frédéric Demians
- Reverse dependencies
- CPAN Testers List
- Dependency graph
koha-claim - Claim overdues each day, grouping same overdues
koha-claim koha-claim --doit koha-claim --doit --to firstname.lastname@example.org
This script creates claim notifications to borrowers for their overdues based on claim rules. Notification are inserted into Koha standard notification queue (message_queue table). They have then to be processed by process_message_queue.pl script. The notifications group overdues. So for example, if a borrower has 3 overdues, 1 for 10 days and 2 for 20 days, and if you have 2 rules, one for 10 days and another one for 20 days, 2 notifications (not 3, one for each overdue) will be prepared: the 20 days notification will group the 2 20 days overdues.
Rules are found in
ClaimRulesKoha system preference.
# Branch itype days action notice # action => 1=email, 2=debarre * * 15 1 REL1 MAIN * 25 1 REL1 * BK 40 1 REL1 * * 55 1 REL1 * * 75 1 REL1 * * 85 1 REL4 * * 90 1 REL1
This script MUST be run every day. It matches overdues on a exact number of days of overdue.
--doitparameter, the notifications are sent to the terminal (stdout) rather than to the notification queue.
The notifications are entered in Koha in Tools > Notifications. Items information must be enclosed into <items> </items> tag. For example:
Library <<branches.branchname>> <<branches.branchaddress1>> <<branches.branchzip>> <<branches.branchcity>> <<branches.branchphone>> Miss, Madam, Sir, This is overdue: <items> Title: <<biblio.title>> Author: <<biblio.author>> Call Number: <<items.itemcallnumber>> Borrowed at: <<item_branch>> Due date: <<issues.date_due>> Type: <<itemtypes.description>> </items>
Frédéric Demians <email@example.com>
This software is Copyright (c) 2021 by Fréderic Démians.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
Module Install Instructions
To install Koha::Contrib::Tamil, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Koha::Contrib::Tamil
For more information on module installation, please visit the detailed CPAN module installation guide.