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

Chris Cormack <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14549|0                           |1
        is obsolete|                            |
  Attachment #20071|0                           |1
        is obsolete|                            |

--- Comment #14 from Chris Cormack <[email protected]> ---
Created attachment 21003
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21003&action=edit
Bug 9372 : Replaces carriage return with <br /> in printed html files for
overdues.

For pdf generation, html files need explicit <br /> html tags. With this patch,
carriage return are replaced by <br /> when letters are written into html
files.

Test plan :
- Ensure you've got at least one reader with overdue triggering notice
- Ensure that your notice template got html checked
- Run misc/cronjobs/overdue_notices.pl -v -n -html <dirname>
  and misc/cronjobs/printoverdues.sh <dirname>

Without patch, the content of the letter is all on one line in pdf file
With the patch, pdf file is correctly formated

- remove your reader email
- Run misc/cronjobs/overdue_notices.pl -v -html <dirname>
  and misc/cronjobs/printoverdues.sh <dirname>

Without patch, the content of pdf file is all on one line
with the patch, pdf file is correctly formated.

- restore reader email
- run misc/cronjobs/overdue_notice.pl -v -html <dirname>

Verify that the a message has been generated in message_queue table
With or without patch, the message is the same

Signed-off-by: Kyle M Hall <[email protected]>
Signed-off-by: Chris Cormack <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to