Lines 39-45
my $suppliername = $input->param('suppliername');
Link Here
|
39 |
my $order = $input->param('order'); |
39 |
my $order = $input->param('order'); |
40 |
|
40 |
|
41 |
# open template first (security & userenv set here) |
41 |
# open template first (security & userenv set here) |
42 |
my ($template, $loggedinuser, $cookie) |
42 |
my ($template, $loggedinuser, $cookie, $flags) |
43 |
= get_template_and_user({template_name => 'serials/claims.tmpl', |
43 |
= get_template_and_user({template_name => 'serials/claims.tmpl', |
44 |
query => $input, |
44 |
query => $input, |
45 |
type => 'intranet', |
45 |
type => 'intranet', |
Lines 71-76
if ($supplierid) {
Link Here
|
71 |
@supplierinfo=GetBookSeller($supplierid); |
71 |
@supplierinfo=GetBookSeller($supplierid); |
72 |
} |
72 |
} |
73 |
|
73 |
|
|
|
74 |
unless( $flags->{superlibrarian} == 1 |
75 |
|| $template->{param_map}->{CAN_user_serials_superserials} ){ |
76 |
foreach (@missingissues) { |
77 |
if( $_->{branchcode} |
78 |
and $_->{branchcode} ne C4::Context->userenv->{'branch'} ) { |
79 |
$_->{cannot_claim} = 1; |
80 |
} |
81 |
} |
82 |
} |
83 |
|
74 |
my $branchloop = GetBranchesLoop(); |
84 |
my $branchloop = GetBranchesLoop(); |
75 |
unshift @$branchloop, {value=> 'all',name=>''}; |
85 |
unshift @$branchloop, {value=> 'all',name=>''}; |
76 |
|
86 |
|
77 |
- |
|
|