[Koha-bugs] [Bug 10720] Substitution term in overdue notices shouldn't be removed even if they don't match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 2 08:02:49 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10720

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20320|0                           |1
        is obsolete|                            |

--- Comment #2 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 20756
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20756&action=edit
Bug 10720 : substitution term in overdue notices shouldn't be removed if they
don't match. It prevents use of html in notices to use with css

Test plan :
        - define an overdue notice containing some valid substitution terms +
some valid html tags (<strong> or <div class="my class" to use with a css
        - find a borrower with overdues that trigger this notice
        - run overdue_notices.pl -html <directory>

        Without patch, your html tags are missing in your html file
        With the patch, they are present and can be used with a css to generate
a formatted pdf file.

        If you add some invalid substitution term, with the patch, they are
still in the final letter, but the warn in the log helps you to correct your
notice template.

Signed-off-by: Srdjan <srdjan at catalyst.net.nz>

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


More information about the Koha-bugs mailing list