View | Details | Raw Unified | Return to bug 3380
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl (-1 / +7 lines)
Lines 243-249 Link Here
243
		  <th>Hold Starts on Date</th>
243
		  <th>Hold Starts on Date</th>
244
		  <!-- /TMPL_IF -->
244
		  <!-- /TMPL_IF -->
245
                  <!-- TMPL_IF NAME="OPACItemHolds" -->
245
                  <!-- TMPL_IF NAME="OPACItemHolds" -->
246
                    <th id="place_on_hdr" style="display:none">Place On:</th>
246
                    <th id="place_on_hdr" style="display:none">Place On</th>
247
                  <!-- /TMPL_IF -->
247
                  <!-- /TMPL_IF -->
248
                  <!-- TMPL_UNLESS NAME="singleBranchMode" -->
248
                  <!-- TMPL_UNLESS NAME="singleBranchMode" -->
249
                    <th>Pickup Location</th>
249
                    <th>Pickup Location</th>
Lines 419-424 Link Here
419
                              <th>Last Location</th>
419
                              <th>Last Location</th>
420
                            <!-- /TMPL_UNLESS -->
420
                            <!-- /TMPL_UNLESS -->
421
                            <th>Call Number</th>
421
                            <th>Call Number</th>
422
                            <!-- TMPL_IF NAME="itemdata_enumchron" -->
423
                              <th>Vol Info</th>
424
                            <!-- /TMPL_IF -->
422
                            <th>Information</th>
425
                            <th>Information</th>
423
                          </tr>
426
                          </tr>
424
427
Lines 445-450 Link Here
445
                                <td><!-- TMPL_VAR NAME="holdingBranchName" --></td>
448
                                <td><!-- TMPL_VAR NAME="holdingBranchName" --></td>
446
                              <!-- /TMPL_UNLESS -->
449
                              <!-- /TMPL_UNLESS -->
447
                              <td><!-- TMPL_VAR NAME="callNumber" --></td>
450
                              <td><!-- TMPL_VAR NAME="callNumber" --></td>
451
                              <!-- TMPL_IF NAME="itemdata_enumchron" --><!-- test -->
452
                                <td><!-- TMPL_VAR NAME="enumchron" --></td>
453
                              <!-- /TMPL_IF -->
448
                              <td>
454
                              <td>
449
                                <!-- TMPL_IF NAME="date_due" -->
455
                                <!-- TMPL_IF NAME="date_due" -->
450
                                  <span class="checkedout">Due <!-- TMPL_VAR NAME="date_due" --></span>
456
                                  <span class="checkedout">Due <!-- TMPL_VAR NAME="date_due" --></span>
(-)a/opac/opac-reserve.pl (-1 / +8 lines)
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
- 

Return to bug 3380