Lines 293-298
my $notforloan_label_of = get_notforloan_label_of();
Link Here
|
293 |
|
293 |
|
294 |
my $biblioLoop = []; |
294 |
my $biblioLoop = []; |
295 |
my $numBibsAvailable = 0; |
295 |
my $numBibsAvailable = 0; |
|
|
296 |
my $itemdata_enumchron = 0; |
296 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
297 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
297 |
$template->param('item-level_itypes' => $itemLevelTypes); |
298 |
$template->param('item-level_itypes' => $itemLevelTypes); |
298 |
|
299 |
|
Lines 353-358
foreach my $biblioNum (@biblionumbers) {
Link Here
|
353 |
$itemLoopIter->{barcode} = $itemInfo->{barcode}; |
354 |
$itemLoopIter->{barcode} = $itemInfo->{barcode}; |
354 |
$itemLoopIter->{homeBranchName} = $branches->{$itemInfo->{homebranch}}{branchname}; |
355 |
$itemLoopIter->{homeBranchName} = $branches->{$itemInfo->{homebranch}}{branchname}; |
355 |
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber}; |
356 |
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber}; |
|
|
357 |
$itemLoopIter->{enumchron} = $itemInfo->{enumchron}; |
356 |
$itemLoopIter->{copynumber} = $itemInfo->{copynumber}; |
358 |
$itemLoopIter->{copynumber} = $itemInfo->{copynumber}; |
357 |
if ($itemLevelTypes) { |
359 |
if ($itemLevelTypes) { |
358 |
$itemLoopIter->{description} = $itemInfo->{description}; |
360 |
$itemLoopIter->{description} = $itemInfo->{description}; |
Lines 443-448
foreach my $biblioNum (@biblionumbers) {
Link Here
|
443 |
$itemLoopIter->{waitingdate} = format_date($wait_hashref->{waitingdate}); |
445 |
$itemLoopIter->{waitingdate} = format_date($wait_hashref->{waitingdate}); |
444 |
} |
446 |
} |
445 |
$itemLoopIter->{imageurl} = getitemtypeimagelocation( 'opac', $itemTypes->{ $itemInfo->{itype} }{imageurl} ); |
447 |
$itemLoopIter->{imageurl} = getitemtypeimagelocation( 'opac', $itemTypes->{ $itemInfo->{itype} }{imageurl} ); |
|
|
448 |
|
449 |
# Show serial enumeration when needed |
450 |
if ($itemLoopIter->{enumchron}) { |
451 |
$itemdata_enumchron = 1; |
452 |
} |
453 |
$template->param( itemdata_enumchron => $itemdata_enumchron ); |
446 |
|
454 |
|
447 |
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter; |
455 |
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter; |
448 |
} |
456 |
} |
449 |
- |
|
|