Bug 16990: Display branch names instead of code in patron mod requests
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember-receipt.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Print Receipt for [% cardnumber %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <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="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print.css" />
8
9 [% INCLUDE 'slip-print.inc' #printThenClose %]
10 </head>
11 <body id="pat_moremember-receipt" class="pat" onload="printThenClose();">
12
13 <div id="receipt">
14
15 <h3>[% LibraryName %]</h3>
16 [% IF ( branchname ) %][% branchname %]<br />[% END %]
17 Checked out to [% firstname %] [% surname %] <br />
18 (<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
19
20 [% todaysdate %]<br />
21
22 [% IF ( quickslip ) %]
23 <h4>Checked out today</h4>
24 [% FOREACH issueloo IN issueloop %]
25 [% IF ( issueloo.red ) %][% ELSE %]
26 [% IF ( issueloo.today ) %]
27 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
28 Barcode: [% issueloo.barcode %]<br />
29 Date due: [% issueloo.date_due %]<br /></p>
30     [% END %]
31     [% END %]
32     [% END %]
33
34 [% ELSE %]
35 <h4>Checked out</h4>
36 [% FOREACH issueloo IN issueloop %]
37 [% IF ( issueloo.red ) %][% ELSE %]
38 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
39 Barcode: [% issueloo.barcode %]<br />
40 Date due: [% issueloo.date_due %]<br /></p>
41     [% END %]
42     [% END %]
43
44 [% END %]
45
46 [% IF ( quickslip ) %]
47 [% ELSE %]
48 [% IF ( overdues_exist ) %]
49 <h4>Overdues</h4>
50     [% FOREACH issueloo IN issueloop %]
51     [% IF ( issueloo.red ) %]
52 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
53 Barcode: [% issueloo.barcode %]<br />
54 Date due: [% issueloo.date_due %]</p>
55 [% END %]
56 [% END %]
57 [% END %]
58 [% END %]
59
60 [% IF ( koha_news_count ) %]
61             <hr><h4 style="text-align: center; font-style:italic;">News</h4>
62                        <!-- [% koha_news_count %] recent news item(s) -->
63             [% FOREACH koha_new IN koha_news %]
64                     <div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5>
65                                         <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.new %]</p>
66                                        <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %]
67
68 </p><hr /></div>
69             [% END %]
70 [% END %]
71
72
73 [% INCLUDE 'intranet-bottom.inc' %]