Kyle M Hall
12afa05554
Test plan: 1) Apply patch 2) Check out some items to a borrower 3) Choose "Print summary" from the "Print" pulldown 4) Observe the new callnumber column after "Author" and before "Item type" 5) Note that the totals in the footer are still aligned correctly Signed-off-by: Eli Anthony <library.assist@taylorcountygov.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
87 lines
2.7 KiB
Text
87 lines
2.7 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</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" />
|
|
<script type="text/javascript">
|
|
function printThenClose() {
|
|
window.print();
|
|
window.close();
|
|
}
|
|
</script>
|
|
<body id="pat_moremember-print" class="pat" onload="printThenClose();">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div id="main">
|
|
|
|
<h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3>
|
|
|
|
<ul><li>[% address %]<br />[% address2 %]</li><li>[% city %], [% zipcode %]</li>
|
|
<li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li>
|
|
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
|
|
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
|
|
</ul>
|
|
|
|
[% IF ( issueloop ) %]
|
|
<table>
|
|
<caption>Items checked out</caption>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Call no</th>
|
|
<th>Item type</th>
|
|
<th>Date due</th>
|
|
<th>Charge</th>
|
|
<th>Price</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
|
|
[% FOREACH issueloo IN issueloop %]
|
|
[% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
|
|
<td>
|
|
[% issueloo.title |html %]
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&biblionumber=[% issueloo.biblionumber %]&bi=[% issueloo.biblioitemnumber %]">
|
|
</a>
|
|
</td>
|
|
<td>[% issueloo.author %]</td>
|
|
<td>[% issueloo.itemcallnumber %]</td>
|
|
<td>[% issueloo.itemtype_description %]</td>
|
|
<td>[% issueloo.date_due %]</td>
|
|
<td>[% issueloo.charge %]</td>
|
|
<td>[% issueloo.replacementprice %]</td>
|
|
<td>[% IF ( issueloo.red ) %]Overdue![% ELSE %] [% END %]</td>
|
|
</tr>
|
|
[% END %]
|
|
<tr>
|
|
<td colspan="5" style="text-align: right; font-weight:bold;">Totals:</td>
|
|
<td>[% totaldue %]</td>
|
|
<td>[% totalprice %]</td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
</table>
|
|
[% END %]
|
|
|
|
[% IF ( reserveloop ) %]
|
|
<table>
|
|
<caption>Items on Reserve</caption>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Format</th>
|
|
<th>Requested</th>
|
|
</tr>
|
|
|
|
[% FOREACH reserveloo IN reserveloop %]
|
|
<tr>
|
|
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td>
|
|
<td>[% reserveloo.author %]</td>
|
|
<td>[% reserveloo.description %]</td>
|
|
<td>[% reserveloo.reservedate2 %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|