Koha Upgrades

Koha 22.11: Notices & Slips

Enhancements

Architecture, internals, and plumbing

[30901] Add template method to be able to look up renewal data in Koha slips and notices

This adds a new option to send the number of remaining renewals in a notice. This is done by entering the following into your notice:

[%- USE CirculationRules -%] [%- SET renewals = CirculationRules.Renewals( borrowernumber, itemnumber ) -%] You have [% renewals.remaining | html %] of [% renewals.allowed | html %] renewals remaining.

The Koha Wiki has further information on the options available.

[30612] Add account_lines method to Koha::[Old::]Checkout

This adds the ability to pass accountline information, notably fees related to overdues, to the notices

In the following example, it asks for each checkout in patron checkouts, then for each accountline in the checkout's accountlines, print the ID or other information.

[% FOREACH c IN patron.checkouts %] [% FOREACH a IN c.accountlines %] ACCOUNTLINE ID: [% a.id %] [% END %][% END %]

Circulation

[31157] overdue_notices.pl –frombranch option should be available as a system preference

This enhancement adds a new system preference "OverdueNoticeFrom" that will override the frombranch parameter on the overdue notices cronjob. This allows systems librarians the option to pick which address to use for overdue notices. The default is the "command-line option" which means behavior won't change by default. The new options are "item home library" and "checkout library" which will use the branch email from the libraries table.

Patrons

[30646] Add option to send WELCOME notice for new patrons added at first login via LDAP/SAML

When LDAP or Shibboleth are used to create user accounts on first login, the WELCOME notice can be send automatically to the new users. This requires adding the new configuration option 1 to the respective configuration files.

System preference, authorized values, and letter code changes

New system preferences

  • OverdueNoticeFrom