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

(-)a/circ/circulation.pl (-1 / +6 lines)
Lines 357-363 if ($barcode) { Link Here
357
        unless($issueconfirmed){
357
        unless($issueconfirmed){
358
            #  Get the item title for more information
358
            #  Get the item title for more information
359
            my $getmessageiteminfo  = GetBiblioFromItemNumber(undef,$barcode);
359
            my $getmessageiteminfo  = GetBiblioFromItemNumber(undef,$barcode);
360
	    $template->{VARS}->{'additional_materials'} = $getmessageiteminfo->{'materials'};
360
            my $materials = $getmessageiteminfo->{'materials'};
361
            my $avcode = GetAuthValCode('items.materials');
362
            if ($avcode) {
363
                $materials = GetKohaAuthorisedValueLib($avcode, $materials);
364
            }
365
            $template->{VARS}->{'additional_materials'} = $materials;
361
            $template->param( itemhomebranch => $getmessageiteminfo->{'homebranch'} );
366
            $template->param( itemhomebranch => $getmessageiteminfo->{'homebranch'} );
362
367
363
            # pass needsconfirmation to template if issuing is possible and user hasn't yet confirmed.
368
            # pass needsconfirmation to template if issuing is possible and user hasn't yet confirmed.
(-)a/circ/returns.pl (-2 / +7 lines)
Lines 279-284 if ($barcode) { Link Here
279
    my $hbr = GetBranchItemRule($biblio->{'homebranch'}, $itemtype)->{'returnbranch'} || "homebranch";
279
    my $hbr = GetBranchItemRule($biblio->{'homebranch'}, $itemtype)->{'returnbranch'} || "homebranch";
280
    my $returnbranch = $biblio->{$hbr} ;
280
    my $returnbranch = $biblio->{$hbr} ;
281
281
282
    my $materials = $biblio->{'materials'};
283
    my $avcode = GetAuthValCode('items.materials');
284
    if ($avcode) {
285
        $materials = GetKohaAuthorisedValueLib($avcode, $materials);
286
    }
287
282
    $template->param(
288
    $template->param(
283
        title            => $biblio->{'title'},
289
        title            => $biblio->{'title'},
284
        homebranch       => $biblio->{'homebranch'},
290
        homebranch       => $biblio->{'homebranch'},
Lines 290-296 if ($barcode) { Link Here
290
        itembiblionumber => $biblio->{'biblionumber'},
296
        itembiblionumber => $biblio->{'biblionumber'},
291
        biblionumber     => $biblio->{'biblionumber'},
297
        biblionumber     => $biblio->{'biblionumber'},
292
        borrower         => $borrower,
298
        borrower         => $borrower,
293
        additional_materials => $biblio->{'materials'},
299
        additional_materials => $materials,
294
    );
300
    );
295
301
296
    my %input = (
302
    my %input = (
297
- 

Return to bug 12670