diff --git a/bull/lateissues.pl b/bull/lateissues.pl index e85e9be9a3..11858d3b45 100755 --- a/bull/lateissues.pl +++ b/bull/lateissues.pl @@ -4,6 +4,7 @@ use strict; use CGI; use C4::Auth; use C4::Bull; +use C4::Acquisition; use C4::Output; use C4::Interface::CGI::Output; use C4::Context; @@ -30,6 +31,10 @@ my $CGIsupplier=CGI::scrolling_list( -name => 'supplierid', my @lateissues; @lateissues = GetLateIssues($supplierid) if $supplierid; +my @supplierinfo; +my $nothing; +($nothing,@supplierinfo)=bookseller($supplierid) if $supplierid; + my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "bull/lateissues.tmpl", query => $query, @@ -41,6 +46,9 @@ my ($template, $loggedinuser, $cookie) $template->param( CGIsupplier => $CGIsupplier, - lateissues => \@lateissues + lateissues => \@lateissues, + phone => $supplierinfo[0]->{phone}, + booksellerfax => $supplierinfo[0]->{booksellerfax}, + bookselleremail => $supplierinfo[0]->{bookselleremail}, ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl b/koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl index a2db8eefb8..ad54f0710a 100644 --- a/koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl @@ -16,7 +16,11 @@
+ Phone: + Fax: +