Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt
Galen Charlton 6405f26524 Bug 10592: fix display of favicon
Move the favicon files for OPAC and staff so that they are not
blocked by the Apache configuration change introduced by the
patch for bug 9812.

Note that this patch makes the favicon customizable by theme,
not both theme and language.

To test, after applying the patch.

[1] Open pages in the OPAC and staff client.  Verify that the favicon
    is displayed in the usual place in your web browser.  Specific pages
    to test include

    - circulation receipts and slips
    - help
    - lists view
    - web-based self-checkout

[2] Verify that the Apache logs do not contain entries like this:

client denied by server configuration: {...}/prog/en/includes/favicon.ico

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Verified that the favicon displays correctly. Also
tried changing favicons for staff and OPAC using the
system preferences for those. This still works, where
the system preferences are correctly supported in the
templates.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-22 14:00:23 +00:00

63 lines
1.7 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Print Receipt for [% cardnumber %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
<script type="text/javascript">
function printThenClose() {
window.print();
window.close();
}
</script>
</head>
<body id="pat_printfeercpt" class="pat" onload="printThenClose();">
<div id="receipt">
<!-- The table with the account items -->
<table>
[% IF ( LibraryName ) %]
<tr>
<th colspan=3 class="centerednames">
<h3>[% LibraryName %]</h3>
</th>
</tr>
[% END %]
<tr>
<th colspan=3 class="centerednames">
<h2><u>Fee receipt</u></h2>
</th>
</tr>
<tr>
<th colspan=3 class="centerednames">
[% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
</th>
</tr>
<tr>
<th colspan=3 >
Received with thanks from [% firstname %] [% surname %] <br />
Card number : [% cardnumber %]<br />
</th>
</tr>
<tr>
<th>Date</th>
<th>Description of charges</th>
<th>Amount</th>
</tr>
[% FOREACH account IN accounts %]
<tr class="highlight">
<td>[% account.date %]</td>
<td>[% account.description %]</td>
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
</tr>
[% END %]
<tfoot>
<tr>
<td colspan="2">Total outstanding dues as on date : </td>
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
</tr>
</tfoot>
</table>
</div>
[% INCLUDE 'intranet-bottom.inc' %]