|
Lines 179-184
my $authvalcode_items_damaged = GetAuthValCode('items.damaged', $fw);
Link Here
|
| 179 |
|
179 |
|
| 180 |
my $analytics_flag; |
180 |
my $analytics_flag; |
| 181 |
my $materials_flag; # set this if the items have anything in the materials field |
181 |
my $materials_flag; # set this if the items have anything in the materials field |
|
|
182 |
my $ordernumber_flag; |
| 182 |
foreach my $item (@items) { |
183 |
foreach my $item (@items) { |
| 183 |
|
184 |
|
| 184 |
$item->{homebranch} = GetBranchName($item->{homebranch}); |
185 |
$item->{homebranch} = GetBranchName($item->{homebranch}); |
|
Lines 260-265
foreach my $item (@items) {
Link Here
|
| 260 |
if ($item->{'materials'} ne ''){ |
261 |
if ($item->{'materials'} ne ''){ |
| 261 |
$materials_flag = 1; |
262 |
$materials_flag = 1; |
| 262 |
} |
263 |
} |
|
|
264 |
$item->{'ordernumber'} = GetOrdernumberFromItemnumber($item->{itemnumber}); |
| 265 |
if($item->{'ordernumber'}){ |
| 266 |
$ordernumber_flag = 1; |
| 267 |
} |
| 263 |
push @itemloop, $item; |
268 |
push @itemloop, $item; |
| 264 |
} |
269 |
} |
| 265 |
|
270 |
|
|
Lines 284-289
$template->param(
Link Here
|
| 284 |
hostrecords => $hostrecords, |
289 |
hostrecords => $hostrecords, |
| 285 |
analytics_flag => $analytics_flag, |
290 |
analytics_flag => $analytics_flag, |
| 286 |
C4::Search::enabled_staff_search_views, |
291 |
C4::Search::enabled_staff_search_views, |
|
|
292 |
ordernumber_flag => $ordernumber_flag, |
| 287 |
materials => $materials_flag, |
293 |
materials => $materials_flag, |
| 288 |
); |
294 |
); |
| 289 |
|
295 |
|