Lines 1-121
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
|
|
2 |
[% USE Branches %] |
2 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title> |
5 |
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
7 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
7 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" /> |
8 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" /> |
8 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
9 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
9 |
<body id="pat_moremember-print" class="pat" onload="printThenClose();"> |
|
|
10 |
|
11 |
</head> |
10 |
</head> |
12 |
<body> |
11 |
<body id="pat_moremember-print" class="pat" onload="printThenClose();"> |
|
|
12 |
<div id="main"> |
13 |
<h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3> |
13 |
|
14 |
|
14 |
<div id="main"> |
15 |
<ul> |
|
|
16 |
<li>[% address %]<br />[% address2 %]</li> |
17 |
<li>[% city %], [% zipcode %]</li> |
18 |
<li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li> |
19 |
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li> |
20 |
[% IF ( emailpro ) %] |
21 |
<li>[% emailpro %]</li> |
22 |
[% END %] |
23 |
<li>Registration date: [% dateenrolled | $KohaDates %]</li> |
24 |
<li>Expiration date: [% dateexpiry | $KohaDates %]</li> |
25 |
<li>Library: [% Branches.GetName( branchcode ) %]</li> |
26 |
<li>Category: [% description %]</li> |
27 |
</ul> |
15 |
|
28 |
|
16 |
<h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3> |
29 |
[% IF ( issues ) %] |
|
|
30 |
<table> |
31 |
<caption>Items checked out</caption> |
32 |
<tr> |
33 |
<th>Title</th> |
34 |
<th>Author</th> |
35 |
<th>Call no</th> |
36 |
<th>Item type</th> |
37 |
<th>Date due</th> |
38 |
<th>Barcode</th> |
39 |
<th>Charge</th> |
40 |
<th>Price</th> |
41 |
<th>Status</th> |
42 |
</tr> |
17 |
|
43 |
|
18 |
<ul><li>[% address %]<br />[% address2 %]</li><li>[% city %], [% zipcode %]</li> |
44 |
[% FOREACH issueloo IN issues %] |
19 |
<li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li> |
45 |
[% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %] |
20 |
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li> |
46 |
<td> |
21 |
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %] |
47 |
[% issueloo.title |html %] |
22 |
<li>Registration date: [% dateenrolled %]</li> |
48 |
<a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&biblionumber=[% issueloo.biblionumber %]&bi=[% issueloo.biblioitemnumber %]"></a> |
23 |
<li>Expiration date: [% dateexpiry %]</li> |
49 |
</td> |
24 |
<li>Library: [% branchname %]</li> |
50 |
<td>[% issueloo.author %]</td> |
25 |
<li>Category: [% description %]</li> |
51 |
<td>[% issueloo.itemcallnumber %]</td> |
26 |
</ul> |
52 |
<td>[% issueloo.itemtype_description %]</td> |
|
|
53 |
<td>[% issueloo.date_due %]</td> |
54 |
<td>[% issueloo.barcode %]</td> |
55 |
<td>[% issueloo.charge %]</td> |
56 |
<td>[% issueloo.replacementprice %]</td> |
57 |
<td>[% IF ( issueloo.red ) %]Overdue![% ELSE %] [% END %]</td> |
58 |
</tr> |
59 |
[% END %] |
27 |
|
60 |
|
28 |
[% IF ( issueloop ) %] |
61 |
<tr> |
29 |
<table> |
62 |
<td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td> |
30 |
<caption>Items checked out</caption> |
63 |
<td>[% totaldue %]</td> |
31 |
<tr> |
64 |
<td>[% totalprice %]</td> |
32 |
<th>Title</th> |
65 |
<td colspan="3"> </td> |
33 |
<th>Author</th> |
66 |
</tr> |
34 |
<th>Call no</th> |
67 |
</table> |
35 |
<th>Item type</th> |
68 |
[% END %] |
36 |
<th>Date due</th> |
|
|
37 |
<th>Barcode</th> |
38 |
<th>Charge</th> |
39 |
<th>Price</th> |
40 |
<th>Status</th> |
41 |
</tr> |
42 |
|
69 |
|
43 |
[% FOREACH issueloo IN issueloop %] |
70 |
[% IF ( accounts && ( totaldue != '0.00' ) ) %] |
44 |
[% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %] |
71 |
<table> |
45 |
<td> |
72 |
<caption>Account fines and payments</caption> |
46 |
[% issueloo.title |html %] |
73 |
<tr> |
47 |
<a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&biblionumber=[% issueloo.biblionumber %]&bi=[% issueloo.biblioitemnumber %]"> |
74 |
<th>Description of charges</th> |
48 |
</a> |
75 |
<th>Date</th> |
49 |
</td> |
76 |
<th>Amount</th> |
50 |
<td>[% issueloo.author %]</td> |
77 |
<th>Outstanding</th> |
51 |
<td>[% issueloo.itemcallnumber %]</td> |
78 |
</tr> |
52 |
<td>[% issueloo.itemtype_description %]</td> |
|
|
53 |
<td>[% issueloo.date_due %]</td> |
54 |
<td>[% issueloo.barcode %]</td> |
55 |
<td>[% issueloo.charge %]</td> |
56 |
<td>[% issueloo.replacementprice %]</td> |
57 |
<td>[% IF ( issueloo.red ) %]Overdue![% ELSE %] [% END %]</td> |
58 |
</tr> |
59 |
[% END %] |
60 |
<tr> |
61 |
<td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td> |
62 |
<td>[% totaldue %]</td> |
63 |
<td>[% totalprice %]</td> |
64 |
<td colspan="3"> </td> |
65 |
</tr> |
66 |
</table> |
67 |
[% END %] |
68 |
|
69 |
[% IF ( reserveloop ) %] |
70 |
<table> |
71 |
<caption>Items on Reserve</caption> |
72 |
<tr> |
73 |
<th>Title</th> |
74 |
<th>Author</th> |
75 |
<th>Format</th> |
76 |
<th>Requested</th> |
77 |
</tr> |
78 |
|
79 |
|
79 |
[% FOREACH reserveloo IN reserveloop %] |
80 |
[% FOREACH account IN accounts %] |
80 |
<tr> |
81 |
[% NEXT IF account.amountoutstanding == '0.00' %] |
81 |
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td> |
82 |
<tr> |
82 |
<td>[% reserveloo.author %]</td> |
83 |
<td> |
83 |
<td>[% reserveloo.description %]</td> |
84 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %] |
84 |
<td>[% reserveloo.reservedate2 %]</td> |
85 |
[% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] |
85 |
</tr> |
86 |
[% IF ( account.itemnumber ) %]</a>[% END %] |
86 |
[% END %] |
87 |
</td> |
87 |
</table> |
88 |
<td>[% account.date | $KohaDates %]</td> |
88 |
[% END %] |
89 |
<td>[% account.amount %]</td> |
|
|
90 |
<td>[% account.amountoutstanding %]</td> |
91 |
</tr> |
92 |
[% END %] |
89 |
|
93 |
|
90 |
[% IF ( accounts && ( totaldue != '0.00' ) ) %] |
94 |
<tfoot> |
91 |
<table> |
95 |
<tr> |
92 |
<caption>Account fines and payments</caption> |
96 |
<td colspan="3">Total due</td> |
93 |
<tr> |
97 |
<td colspan="2">[% totaldue %]</td> |
94 |
<th>Description of charges</th> |
98 |
</tr> |
95 |
<th>Date</th> |
99 |
</tfoot> |
96 |
<th>Amount</th> |
100 |
</table> |
97 |
<th>Outstanding</th> |
|
|
98 |
</tr> |
99 |
[% FOREACH account IN accounts %] |
100 |
[% NEXT IF account.amountoutstanding == '0.00' %] |
101 |
<tr> |
102 |
<td> |
103 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %] |
104 |
[% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] |
105 |
[% IF ( account.itemnumber ) %]</a>[% END %] |
106 |
</td> |
107 |
<td>[% account.date | $KohaDates %]</td> |
108 |
<td>[% account.amount %]</td> |
109 |
<td>[% account.amountoutstanding %]</td> |
110 |
</tr> |
111 |
[% END %] |
101 |
[% END %] |
112 |
<tfoot> |
|
|
113 |
<tr> |
114 |
<td colspan="3">Total due</td> |
115 |
<td colspan="2">[% totaldue %]</td> |
116 |
</tr> |
117 |
</tfoot> |
118 |
</table> |
119 |
[% END %] |
120 |
|
102 |
|
121 |
[% INCLUDE 'intranet-bottom.inc' %] |
103 |
[% INCLUDE 'intranet-bottom.inc' %] |