[Koha-bugs] [Bug 33350] Show items info several times in notice content

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 28 11:25:13 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33350

Adolfo Rodríguez Taboada <adolfo.rodriguez at xercode.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|koha-bugs at lists.koha-commun |adolfo.rodriguez at xercode.es
                   |ity.org                     |
             Status|NEW                         |Needs Signoff

--- Comment #1 from Adolfo Rodríguez Taboada <adolfo.rodriguez at xercode.es> ---
Created attachment 148796
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148796&action=edit
Allow to show item info several times in notices content

This patch allow to show correctly the info of the items more than once in a
notice.

To test
1 Change you ODUE notice to something like this:

Dear <<borrowers.firstname>> <<borrowers.surname>>,

According to our current records, you have items that are overdue.Your library
does not charge late fines, but please return or renew them at the branch below
as soon as possible.

<<branches.branchname>>
<<branches.branchaddress1>>
<<branches.branchaddress2>> <<branches.branchaddress3>>
Phone: <<branches.branchphone>>
Fax: <<branches.branchfax>>
Email: <<branches.branchemail>>

If you have registered a password with the library, and you have a renewal
available, you may renew online. If an item becomes more than 30 days overdue,
you will be unable to use your library card until the item is returned.

The following item(s) is/are currently overdue:

<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>,
Barcode: <<items.barcode>> Fine: <<items.fine>></item>

Thank-you for your prompt attention to this matter.

<<branches.branchname>> Staff

Estimado <<borrowers.firstname>> <<borrowers.surname>>,

De acuerdo con nuestros registros actuales, tiene artículos vencidos. Su
biblioteca no cobra multas por demora, pero devuélvalos o renuévelos en la
sucursal a continuación lo antes posible.

<<branches.branchname>>
<<branches.branchaddress1>>
<<branches.branchaddress2>> <<branches.branchaddress3>>
Teléfono: <<branches.branchphone>>
Fax: <<branches.branchfax>>
Email: <<branches.branchemail>>

Los siguientes ejemplares tienen retrasos:

<item>"<<biblio.title>>" de <<biblio.author>>, <<items.itemcallnumber>>, Código
de barras: <<items.barcode>> Sanción: <<items.fine>></item>

Gracias por tu atención.

<<branches.branchname>> Equipo

2 Make sure you have patrons with overdue notices and that they will get the
notice you have modified (email, print...)

3 Run the overdue notices cronjob misc/cronjobs/overdue_notices.pl -v

4 Check that the notice isn't generated as expected.

5 Apply patch, restart services

6 Run again the overdue notices cronjob misc/cronjobs/overdue_notices.pl -v

7 Check that the notice has been properly generated.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list