Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
2011-04-10 20:38:30 +12:00

77 lines
2.4 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" />
</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 %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;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 %]&nbsp;[% 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">&nbsp;</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' %]