a9ded4fa00
Branches can have their own version of notices - added branchcode to letter table. Support html notices - added is_html to letter table. Support for borrower attributes in templates. GetPreparedletter() is the interface for compiling letters (notices). Sysprefs for notice and slips stylesheets Added TRANSFERSLIP to the letters Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
28 lines
765 B
Text
28 lines
765 B
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% title %]</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
|
|
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
|
|
[% IF stylesheet %]
|
|
<link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
|
|
[% END %]
|
|
|
|
<script language="javascript">
|
|
function printThenClose() {
|
|
window.print();
|
|
window.close();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="printThenClose();">
|
|
<div id="receipt">
|
|
|
|
[% IF plain %]
|
|
<pre>
|
|
[% slip %]
|
|
</pre>
|
|
[% ELSE %]
|
|
[% slip %]
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|