@@ -, +, @@ - Sign in to self checkout. - Enter a barcode and click submit. - Click the finish button - You should be prompted with a message asking if you would like a receipt. If you click OK you should be taken to the page with the receipt. If you click Cancel you should not see the reciept and you should be logged out. --- .../opac-tmpl/prog/en/modules/sco/printslip.tt | 4 +- koha-tmpl/opac-tmpl/prog/en/modules/sco/receipt.tt | 57 -------------------- opac/sco/printslip.pl | 4 +- 3 files changed, 5 insertions(+), 60 deletions(-) delete mode 100644 koha-tmpl/opac-tmpl/prog/en/modules/sco/receipt.tt --- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/printslip.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/sco/printslip.tt @@ -1,5 +1,7 @@ [% INCLUDE 'doc-head-open.inc' %] -[% title %] + + Print Receipt for [% borrowernumber %] + --- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/receipt.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/sco/receipt.tt @@ -1,57 +0,0 @@ - - - - - RECEIPT - - - -[% IF ( SCOUserCSS ) %][% END %] -[% IF ( SCOUserJS ) %][% END %] - - - - - -[% branchname %]

-[% cardnumber %]
- - -[% IF ( todayissues ) %]
-

Today's checkouts

-[% FOREACH todayissue IN todayissues %]
-[% todayissue.title |html %]
-[% todayissue.author %]
-[% todayissue.dd %]
-[% todayissue.barcode %]
-[% END %] -[% END %] - - - - - - - --- a/opac/sco/printslip.pl +++ a/opac/sco/printslip.pl @@ -45,7 +45,7 @@ my $error = $input->param('error'); # patrons still need to be able to print receipts my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "/sco/printslip.tmpl", + template_name => "/sco/printslip.tt", query => $input, type => "opac", } @@ -61,7 +61,7 @@ if (my $letter = IssueSlip ($session->param('branch') || $branch, $borrowernumbe $template->{VARS}->{slip} = $slip; $template->{VARS}->{plain} = !$is_html; -$template->{VARS}->{title} = "Print Receipt for $borrowernumber"; +$template->{VARS}->{borrowernumber} = $borrowernumber; $template->{VARS}->{stylesheet} = C4::Context->preference("SlipCSS"); $template->{VARS}->{error} = $error; --