Bug 8033 - Remove unused template file.

All prog related patches were obsoleted from this bug.

Bug 11349 changed the code to have the proper template name
used (sco/printslip.tt instead of sco/printsplit.tmpl).

Bug 12062 moved the hard coded string logic into the template,
and passed the borrower number.

This only leaves the patch to remove the unused receipt.tt file.

TEST PLAN
---------
1) Confirm the file isn't used.
   $ git grep "sco/receipt" | grep -v "\.po:"
   -- this should list nothing, because there are still po
      files referencing it, but they aren't needed either.
2) ls ./koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/receipt.tt
   -- there should be a file
3) apply patch
4) repeat step 2
   -- the file should be removed

Followed test plan, file does no longer exist.
Signed-off-by: Marc Veron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
git grep receipt.tt says we are safe, trusting the QA people
This commit is contained in:
Owen Leonard 2013-10-22 14:58:25 -07:00 committed by Tomas Cohen Arazi
parent a7822b0a32
commit fe2e05fb6f
1 changed files with 0 additions and 46 deletions

View File

@ -1,46 +0,0 @@
<!DOCTYPE html>
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
<head>
<title>RECEIPT</title>
<script type="text/javascript">
x = 0;
function callPrint(){
while (x == 0){
self.print();
javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1';
x = 1;
}
}
function closeNow(){
if (x == 1){
setTimeout('self.close()',1000);
}
}
</script>
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
</head>
<body onLoad="callPrint(); closeNow();">
[% branchname %]<br><br>
[% cardnumber %]<br>
[% IF ( todayissues ) %]<br>
<p><b>Today's checkouts</b></p>
[% FOREACH todayissue IN todayissues %]<br>
[% todayissue.title |html %]<br>
[% todayissue.author %]<br>
[% todayissue.dd %]<br>
[% todayissue.barcode %]<br>
[% END %]
[% END %]
</body>
</html>
[% BLOCK jsinclude %]
[% END %]