Lines 45-51
my $error = $input->param('error');
Link Here
|
45 |
# patrons still need to be able to print receipts |
45 |
# patrons still need to be able to print receipts |
46 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
46 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
47 |
{ |
47 |
{ |
48 |
template_name => "/sco/printslip.tmpl", |
48 |
template_name => "/sco/printslip.tt", |
49 |
query => $input, |
49 |
query => $input, |
50 |
type => "opac", |
50 |
type => "opac", |
51 |
} |
51 |
} |
Lines 61-67
if (my $letter = IssueSlip ($session->param('branch') || $branch, $borrowernumbe
Link Here
|
61 |
|
61 |
|
62 |
$template->{VARS}->{slip} = $slip; |
62 |
$template->{VARS}->{slip} = $slip; |
63 |
$template->{VARS}->{plain} = !$is_html; |
63 |
$template->{VARS}->{plain} = !$is_html; |
64 |
$template->{VARS}->{title} = "Print Receipt for $borrowernumber"; |
64 |
$template->{VARS}->{borrowernumber} = $borrowernumber; |
65 |
$template->{VARS}->{stylesheet} = C4::Context->preference("SlipCSS"); |
65 |
$template->{VARS}->{stylesheet} = C4::Context->preference("SlipCSS"); |
66 |
$template->{VARS}->{error} = $error; |
66 |
$template->{VARS}->{error} = $error; |
67 |
|
67 |
|
68 |
- |
|
|