Bug 38089: (follow-up) More fixes for errors in original submission
The original submission missed a number of slip types that are print on demand without queueing. These all need an "id" passing in to the template and in some cases we were also missing passing in the new style parameter too (preservation) Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
03e17cda38
commit
3ab343b67e
|
|
@ -81,6 +81,7 @@ $template->param(
|
|||
caller => 'article-request',
|
||||
plain => 0,
|
||||
style => $style,
|
||||
id => 'ar_slip',
|
||||
);
|
||||
|
||||
output_html_with_http_headers $cgi, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ $template->param( slip => $slip ) if ($slip);
|
|||
$template->param( caller => 'hold-transfer' );
|
||||
$template->param( plain => !$is_html );
|
||||
$template->param( style => $style );
|
||||
$template->param( id => 'reserve_slip' );
|
||||
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ $template->param(
|
|||
caller => 'cud-transfer',
|
||||
stylesheet => C4::Context->preference("SlipCSS"),
|
||||
style => $style,
|
||||
id => 'transfer_slip',
|
||||
);
|
||||
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ $template->param(
|
|||
plain => !$letter->{is_html},
|
||||
borrowernumber => $borrowernumber,
|
||||
style => $letter->{style},
|
||||
id => 'overdues_slip',
|
||||
);
|
||||
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ my $logged_in_user = Koha::Patrons->find($loggedinuser);
|
|||
my $branch = C4::Context->userenv->{'branch'};
|
||||
|
||||
my @slips;
|
||||
my $count = 0;
|
||||
for my $train_item_id (@train_item_ids) {
|
||||
my $train_item = Koha::Preservation::Train::Items->find($train_item_id);
|
||||
my $letter = C4::Letters::GetPreparedLetter(
|
||||
|
|
@ -55,6 +56,8 @@ for my $train_item_id (@train_item_ids) {
|
|||
push @slips, {
|
||||
content => $letter->{content},
|
||||
is_html => $letter->{is_html},
|
||||
style => $letter->{style},
|
||||
id => ++$count,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ $template->param(
|
|||
plain => !$is_html,
|
||||
caller => 'recall',
|
||||
style => $style,
|
||||
id => 'recall_request_det',
|
||||
);
|
||||
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
|
|
|
|||
Loading…
Reference in New Issue