Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tmpl
koha 05965fb56d Bug 5283 NEWS ITEM FOR RECEIPT SLIP
There is no on-off global parameter for it since if a library does not want to
use it, then the library will not use the "slip" category in news - this is
similar to the OPAC news and Staff news categories in the news feature.

We have been using this for months in Koha 3.0 and the librarians like it and
so does PR as it gives a way to advertise events and news to patrons with every
checkout.

The files modified are:
koha-news.tmpl
moremember-receipt.tmpl
moremember.pl

Darrell Ulm

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-12-17 09:39:11 +13:00

74 lines
3.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Print Receipt for <!-- TMPL_VAR NAME="cardnumber" --></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/print.css" />
<script language="javascript">
window.print();
window.close();
</script>
</head>
<body>
<div id="receipt">
<h3><!-- TMPL_VAR name="LibraryName" --></h3>
<!-- TMPL_IF NAME="branchname" --><!-- TMPL_VAR NAME="branchname" --><br /><!-- /TMPL_IF -->
Checked out to <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> <br />
(<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber">"><!-- TMPL_VAR NAME="cardnumber" --></a>)<br />
<!-- TMPL_VAR NAME="todaysdate" --><br />
<!-- TMPL_IF name="quickslip" -->
<h4>Checked Out Today</h4>
<!-- TMPL_loop name="issueloop" -->
<!-- TMPL_IF name="red" --><!-- TMPL_ELSE -->
<!-- TMPL_IF name="today" -->
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><br />
Barcode: <!-- TMPL_VAR NAME="barcode" --><br />
Date due: <!-- TMPL_VAR NAME="date_due" --><br /></p>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<h4>Checked Out</h4>
<!-- TMPL_loop name="issueloop" -->
<!-- TMPL_IF name="red" --><!-- TMPL_ELSE -->
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><br />
Barcode: <!-- TMPL_VAR NAME="barcode" --><br />
Date due: <!-- TMPL_VAR NAME="date_due" --><br /></p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
<!-- TMPL_IF name="quickslip" -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="overdues_exist" -->
<h4>Overdues</h4>
<!-- TMPL_LOOP name="issueloop" -->
<!-- TMPL_IF name="red" -->
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><br />
Barcode: <!-- TMPL_VAR NAME="barcode" --><br />
Date due: <!-- TMPL_VAR NAME="date_due" --></p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="koha_news_count" -->
<hr><h4 style="text-align: center; font-style:italic;">News</h4>
<!-- <!-- TMPL_VAR name="koha_news_count" --> recent news item(s) -->
<!-- TMPL_LOOP name="koha_news" -->
<div class="newsitem" id="news<!-- TMPL_VAR NAME="idnew" -->"><h5 style="margin-bottom: 1px; margin-top: 1px"><b><!-- TMPL_VAR name="title" --></b></h5>
<p style="margin-bottom: 1px; margin-top: 1px"><!-- TMPL_VAR name="new" --></p>
<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on <!-- TMPL_VAR name="newdate" -->
</p><hr /></div>
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->