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

(-)a/circ/circulation.pl (-1 / +6 lines)
Lines 392-398 if (@$barcodes) { Link Here
392
        my $confirm_required = 0;
392
        my $confirm_required = 0;
393
        unless($issueconfirmed){
393
        unless($issueconfirmed){
394
            #  Get the item title for more information
394
            #  Get the item title for more information
395
            $template_params->{additional_materials} = $iteminfo->{'materials'};
395
            my $materials = $iteminfo->{'materials'};
396
            my $avcode = GetAuthValCode('items.materials');
397
            if ($avcode) {
398
                $materials = GetKohaAuthorisedValueLib($avcode, $materials);
399
            }
400
            $template_params->{additional_materials} = $materials;
396
            $template_params->{itemhomebranch} = $iteminfo->{'homebranch'};
401
            $template_params->{itemhomebranch} = $iteminfo->{'homebranch'};
397
402
398
            # pass needsconfirmation to template if issuing is possible and user hasn't yet confirmed.
403
            # 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->itemtype : undef )->{'returnbranch'} || "homebranch";
277
    my $hbr = GetBranchItemRule($biblio->{'homebranch'}, $itemtype ? $itemtype->itemtype : undef )->{'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