1fd4a1e8af
Class is 'pat' and ids start with 'pat_'. Signed-off-by: Owen Leonard <oleonard@myacpl.org>
85 lines
2.6 KiB
Text
85 lines
2.6 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 language="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>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.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="4" 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' %]
|