Lines 44-49
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
44 |
my $ars = Koha::ArticleRequests->search( { id => { '-in' => \@ids } } ); |
44 |
my $ars = Koha::ArticleRequests->search( { id => { '-in' => \@ids } } ); |
45 |
my $slipContent = ''; |
45 |
my $slipContent = ''; |
46 |
my $first = 1; |
46 |
my $first = 1; |
|
|
47 |
my $style; |
47 |
while ( my $ar = $ars->next ) { |
48 |
while ( my $ar = $ars->next ) { |
48 |
if ( !$first ) { |
49 |
if ( !$first ) { |
49 |
$slipContent .= "<hr/>"; |
50 |
$slipContent .= "<hr/>"; |
Lines 71-82
while ( my $ar = $ars->next ) {
Link Here
|
71 |
$slip->{is_html} |
72 |
$slip->{is_html} |
72 |
? $slip->{content} |
73 |
? $slip->{content} |
73 |
: '<pre>' . $slip->{content} . '</pre>'; |
74 |
: '<pre>' . $slip->{content} . '</pre>'; |
|
|
75 |
|
76 |
$style = $slip->{style}; |
74 |
} |
77 |
} |
75 |
|
78 |
|
76 |
$template->param( |
79 |
$template->param( |
77 |
slip => $slipContent, |
80 |
slip => $slipContent, |
78 |
caller => 'article-request', |
81 |
caller => 'article-request', |
79 |
plain => 0, |
82 |
plain => 0, |
|
|
83 |
style => $style, |
80 |
); |
84 |
); |
81 |
|
85 |
|
82 |
output_html_with_http_headers $cgi, $cookie, $template->output; |
86 |
output_html_with_http_headers $cgi, $cookie, $template->output; |
83 |
- |
|
|