From 8ce79c4c8bb721f9f06d7b1928116a0e7e6cec18 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 6 Jun 2015 15:17:40 +0200 Subject: [PATCH] Bug 14249: Improve sample discharge letter (en) Improves formatting and wording as suggested by Nicole on bug 14249. To test: - Activate UseDischarge - Request a discharge from a patron account in the OPAC - Confirm discharge from the start page of the staff interface - Download PDF from the patron account in the OPAC - Verify the displayed text is formatted and reads correctly 06/06/2015 15:18 Discharge confirmation Midway certifies that the following borrower: Firstname surname (cardnumber: 1) has returned all items. Signed-off-by: Bernardo Gonzalez Kriegel Messages is Ok, no errors I think you cant modify message using embeded CSS, html -> pdf procedure ignores CSS. Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/en/mandatory/sample_notices.sql | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql index 8616dda812..0dd42bd961 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.sql +++ b/installer/data/mysql/en/mandatory/sample_notices.sql @@ -16,8 +16,15 @@ VALUES ('circulation','ODUE','Overdue Notice','Item Overdue','Dear <> <>,\n\nYou have suggested that the library acquire <> by <>.\n\nThe library has reviewed your suggestion today. The item will be ordered as soon as possible. You will be notified by mail when the order is completed, and again when the item arrives at the library.\n\nIf you have any questions, please email us at <>.\n\nThank you,\n\n<>', 'email'), ('suggestions','AVAILABLE','Suggestion available', 'Suggested purchase available','Dear <> <>,\n\nYou have suggested that the library acquire <> by <>.\n\nWe are pleased to inform you that the item you requested is now part of the collection.\n\nIf you have any questions, please email us at <>.\n\nThank you,\n\n<>', 'email'), ('suggestions','ORDERED','Suggestion ordered', 'Suggested item ordered','Dear <> <>,\n\nYou have suggested that the library acquire <> by <>.\n\nWe are pleased to inform you that the item you requested has now been ordered. It should arrive soon, at which time it will be processed for addition into the collection.\n\nYou will be notified again when the book is available.\n\nIf you have any questions, please email us at <>\n\nThank you,\n\n<>', 'email'), -('suggestions','REJECTED','Suggestion rejected', 'Purchase suggestion declined','Dear <> <>,\n\nYou have suggested that the library acquire <> by <>.\n\nThe library has reviewed your request today, and has decided not to accept the suggestion at this time.\n\nThe reason given is: <>\n\nIf you have any questions, please email us at <>.\n\nThank you,\n\n<>', 'email'), -('members', 'DISCHARGE', 'Discharge', 'Discharge for <> <>', '

Discharge

\r\n\r\nThe library <> certifies that the following borrower :\r\n\r\n <> <>\r\n Cardnumber : <>\r\n\r\nreturned all his documents.', 'email'); +('suggestions','REJECTED','Suggestion rejected', 'Purchase suggestion declined','Dear <> <>,\n\nYou have suggested that the library acquire <> by <>.\n\nThe library has reviewed your request today, and has decided not to accept the suggestion at this time.\n\nThe reason given is: <>\n\nIf you have any questions, please email us at <>.\n\nThank you,\n\n<>', 'email'); + +INSERT INTO `letter` (module, code, name, title, content, is_html, message_transport_type) +VALUES ('members', 'DISCHARGE', 'Discharge confirmation', 'Discharge for <> <>', ' +<> +

Discharge confirmation

+

<> certifies that the following borrower:
+<> <> (cardnumber: <>)
+has returned all items.

', 1, 'email'); INSERT INTO `letter` (module, code, name, title, content, is_html) VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '

<>

-- 2.39.5