Lines 104-123
if($op eq 'cud-save_and_preview'){
Link Here
|
104 |
} |
104 |
} |
105 |
} |
105 |
} |
106 |
} |
106 |
} |
107 |
|
107 |
print $query->redirect("/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=$subscriptionid&print_routing_list_issue=" . $query->param('issue_escaped')); |
108 |
($template, $loggedinuser, $cookie) |
108 |
exit; |
109 |
= get_template_and_user({template_name => "serials/routing-preview-slip.tt", |
109 |
} elsif ( $op eq 'print' ) { |
110 |
query => $query, |
110 |
( $template, $loggedinuser, $cookie ) = get_template_and_user( |
111 |
type => "intranet", |
111 |
{ |
112 |
flagsrequired => {serials => '*'}, |
112 |
template_name => "serials/routing-preview-slip.tt", |
113 |
}); |
113 |
query => $query, |
|
|
114 |
type => "intranet", |
115 |
flagsrequired => { serials => '*' }, |
116 |
} |
117 |
); |
114 |
} else { |
118 |
} else { |
115 |
($template, $loggedinuser, $cookie) |
119 |
( $template, $loggedinuser, $cookie ) = get_template_and_user( |
116 |
= get_template_and_user({template_name => "serials/routing-preview.tt", |
120 |
{ |
117 |
query => $query, |
121 |
template_name => "serials/routing-preview.tt", |
118 |
type => "intranet", |
122 |
query => $query, |
119 |
flagsrequired => {serials => '*'}, |
123 |
type => "intranet", |
120 |
}); |
124 |
flagsrequired => { serials => '*' }, |
|
|
125 |
} |
126 |
); |
121 |
} |
127 |
} |
122 |
|
128 |
|
123 |
$template->param( libraryname => $library->branchname ) if $library; |
129 |
$template->param( libraryname => $library->branchname ) if $library; |