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

(-)a/circ/circulation.pl (-1 / +6 lines)
Lines 398-404 if (@$barcodes) { Link Here
398
        my $confirm_required = 0;
398
        my $confirm_required = 0;
399
        unless($issueconfirmed){
399
        unless($issueconfirmed){
400
            #  Get the item title for more information
400
            #  Get the item title for more information
401
            $template_params->{additional_materials} = $iteminfo->{'materials'};
401
            my $materials = $iteminfo->{'materials'};
402
            my $avcode = GetAuthValCode('items.materials');
403
            if ($avcode) {
404
                $materials = GetKohaAuthorisedValueLib($avcode, $materials);
405
            }
406
            $template_params->{additional_materials} = $materials;
402
            $template_params->{itemhomebranch} = $iteminfo->{'homebranch'};
407
            $template_params->{itemhomebranch} = $iteminfo->{'homebranch'};
403
408
404
            # pass needsconfirmation to template if issuing is possible and user hasn't yet confirmed.
409
            # pass needsconfirmation to template if issuing is possible and user hasn't yet confirmed.
(-)a/circ/returns.pl (-2 / +7 lines)
Lines 277-282 if ($barcode) { Link Here
277
    my $hbr = GetBranchItemRule($biblio->{'homebranch'}, $itemtype->itemtype)->{'returnbranch'} || "homebranch";
277
    my $hbr = GetBranchItemRule($biblio->{'homebranch'}, $itemtype->itemtype)->{'returnbranch'} || "homebranch";
278
    my $returnbranch = $biblio->{$hbr} ;
278
    my $returnbranch = $biblio->{$hbr} ;
279
279
280
    my $materials = $biblio->{'materials'};
281
    my $avcode = GetAuthValCode('items.materials');
282
    if ($avcode) {
283
        $materials = GetKohaAuthorisedValueLib($avcode, $materials);
284
    }
285
280
    $template->param(
286
    $template->param(
281
        title            => $biblio->{'title'},
287
        title            => $biblio->{'title'},
282
        homebranch       => $biblio->{'homebranch'},
288
        homebranch       => $biblio->{'homebranch'},
Lines 289-295 if ($barcode) { Link Here
289
        itembiblionumber => $biblio->{'biblionumber'},
295
        itembiblionumber => $biblio->{'biblionumber'},
290
        biblionumber     => $biblio->{'biblionumber'},
296
        biblionumber     => $biblio->{'biblionumber'},
291
        borrower         => $borrower,
297
        borrower         => $borrower,
292
        additional_materials => $biblio->{'materials'},
298
        additional_materials => $materials,
293
    );
299
    );
294
300
295
    my %input = (
301
    my %input = (
296
- 

Return to bug 12670