<th>Hold Starts on Date</th>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="OPACItemHolds" -->
- <th id="place_on_hdr" style="display:none">Place On:</th>
+ <th id="place_on_hdr" style="display:none">Place On</th>
<!-- /TMPL_IF -->
<!-- TMPL_UNLESS NAME="singleBranchMode" -->
<th>Pickup Location</th>
<th>Last Location</th>
<!-- /TMPL_UNLESS -->
<th>Call Number</th>
+ <!-- TMPL_IF NAME="itemdata_enumchron" -->
+ <th>Vol Info</th>
+ <!-- /TMPL_IF -->
<th>Information</th>
</tr>
<td><!-- TMPL_VAR NAME="holdingBranchName" --></td>
<!-- /TMPL_UNLESS -->
<td><!-- TMPL_VAR NAME="callNumber" --></td>
+ <!-- TMPL_IF NAME="itemdata_enumchron" --><!-- test -->
+ <td><!-- TMPL_VAR NAME="enumchron" --></td>
+ <!-- /TMPL_IF -->
<td>
<!-- TMPL_IF NAME="date_due" -->
<span class="checkedout">Due <!-- TMPL_VAR NAME="date_due" --></span>
my $biblioLoop = [];
my $numBibsAvailable = 0;
+my $itemdata_enumchron = 0;
my $itemLevelTypes = C4::Context->preference('item-level_itypes');
$template->param('item-level_itypes' => $itemLevelTypes);
$itemLoopIter->{barcode} = $itemInfo->{barcode};
$itemLoopIter->{homeBranchName} = $branches->{$itemInfo->{homebranch}}{branchname};
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber};
+ $itemLoopIter->{enumchron} = $itemInfo->{enumchron};
$itemLoopIter->{copynumber} = $itemInfo->{copynumber};
if ($itemLevelTypes) {
$itemLoopIter->{description} = $itemInfo->{description};
$itemLoopIter->{waitingdate} = format_date($wait_hashref->{waitingdate});
}
$itemLoopIter->{imageurl} = getitemtypeimagelocation( 'opac', $itemTypes->{ $itemInfo->{itype} }{imageurl} );
+
+ # Show serial enumeration when needed
+ if ($itemLoopIter->{enumchron}) {
+ $itemdata_enumchron = 1;
+ }
+ $template->param( itemdata_enumchron => $itemdata_enumchron );
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter;
}