Koha/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tmpl
Jesse Weaver 63e871dd40 Bug 3482 Allow hold notices to be sent in print form
This is done by saving the notices in the message_queue table with
type 'print'. The notices are generated from a notice named
HOLD_PRINT. At the end of the day, they are dumped to an HTML file and
marked as sent by a new cronjob.

This setup is intended to be temporary; modules/batch/ shouldn't be around
forever.

Mandatory SQL:
INSERT INTO message_transport_types (message_transport_type) values ('print');
2010-02-22 10:52:04 -05:00

24 lines
620 B
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Print Notices for <!-- TMPL_VAR NAME="today" --></title>
<style type="text/css">
<!--
.message { page-break-after: always }
pre { font-family: monospace }
-->
</style>
<!-- TMPL_IF NAME="stylesheet" -->
<style type="text/css">
<!--
<!-- TMPL_VAR NAME="stylesheet" -->
-->
</style>
<!-- /TMPL_IF -->
</head>
<body>
<!-- TMPL_LOOP NAME="messages" -->
<div class="message">
<pre><!-- TMPL_VAR NAME="content" --></pre>
</div>
<!--/TMPL_LOOP -->
</body>
</html>