4335ab1438
In routing-preview, the title should be the branchname attached to the subscription instead of the libraryname. And showing the streetaddress of the members is useless, and harm privacy.
56 lines
1.8 KiB
Cheetah
56 lines
1.8 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Serials</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript">
|
|
<!--
|
|
|
|
function print_slip(subscriptionid,issue){
|
|
var myurl = 'routing-preview.pl?ok=1&subscriptionid='+subscriptionid+'&issue='+issue;
|
|
window.open(myurl,'PrintSlip','width=500,height=500,toolbar=no,scrollbars=yes');
|
|
window.location.href='serials-home.pl';
|
|
}
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="serials-search.inc" -->
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1>Preview Routing List</h1>
|
|
|
|
<form method="post" action="routing-preview.pl">
|
|
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
|
|
<p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" escape="html" --></p>
|
|
<p><b>Issue:</b> <!-- TMPL_VAR NAME="issue" --></p>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr><td style="padding-top: 5px;"><b>List Member:</b></td>
|
|
<td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
|
|
<tr><th>Name</th></tr>
|
|
<!-- TMPL_LOOP NAME="memberloop" -->
|
|
<tr><td><!-- TMPL_VAR NAME="name" --></td></tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table></td></tr>
|
|
<tr><td><b>Notes:</b></td>
|
|
<td><!-- TMPL_VAR NAME="routingnotes" --></td></tr>
|
|
</table>
|
|
<p>
|
|
<input type="submit" name="ok" class="button" value="OK, Preview Routing Slip" onclick="print_slip(<!-- TMPL_VAR NAME="subscriptionid" -->,'<!-- TMPL_VAR NAME="issue_escaped" -->'); return false" />
|
|
<input type="submit" name="edit" class="button" value="Edit" />
|
|
<input type="submit" name="delete" class="button" value="Delete" /></p>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|