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

(-)a/acqui/basket.pl (-4 / +2 lines)
Lines 497-506 sub get_order_infos { Link Here
497
    }
497
    }
498
498
499
499
500
    my $suggestion   = GetSuggestionInfoFromBiblionumber($line{biblionumber});
500
    my @suggestions   = Koha::Suggestions->search({ biblionumber => $line{biblionumber} })->as_list;
501
    $line{suggestionid}         = $$suggestion{suggestionid};
501
    $line{suggestions}         = \@suggestions;
502
    $line{surnamesuggestedby}   = $$suggestion{surnamesuggestedby};
503
    $line{firstnamesuggestedby} = $$suggestion{firstnamesuggestedby};
504
502
505
    foreach my $key (qw(transferred_from transferred_to)) {
503
    foreach my $key (qw(transferred_from transferred_to)) {
506
        if ($line{$key}) {
504
        if ($line{$key}) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-4 / +3 lines)
Lines 540-549 Link Here
540
                                [%- IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear | html -%]
540
                                [%- IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear | html -%]
541
                                [%- ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate | html %][% END -%]
541
                                [%- ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate | html %][% END -%]
542
                                [%- IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement | html %][% END -%]
542
                                [%- IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement | html %][% END -%]
543
                                [%- IF ( books_loo.suggestionid ) %]
543
                                [% FOREACH suggestion IN books_loo.suggestions %]
544
                                    <br/>
544
                                    <br/>
545
                                    Suggested by: [% books_loo.surnamesuggestedby | html %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby | html %] [% END %]
545
                                    Suggested by: [% suggestion.suggester.surname | html %][% IF ( suggestion.suggester.firstname ) %], [% suggestion.suggester.firstname | html %] [% END %]
546
                                    (<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% books_loo.suggestionid | uri %]&amp;op=show">suggestion #[% books_loo.suggestionid | html %]</a>)
546
                                    (<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% suggestion.suggestionid | uri %]&amp;op=show">suggestion #[% suggestion.suggestionid | html %]</a>)
547
                                [% END %]
547
                                [% END %]
548
                            </p>
548
                            </p>
549
                                [% IF ( books_loo.order_internalnote ) %]
549
                                [% IF ( books_loo.order_internalnote ) %]
550
- 

Return to bug 31632