use CGI;
use C4::Bookseller qw/GetBookSellerFromId/;
+use C4::Bookseller::Contact;
use C4::Acquisition qw/SearchOrders GetOrder ModOrder/;
use C4::Biblio qw/GetBiblioData/;
my $input=new CGI;
my ($template, $loggedinuser, $cookie)
- = get_template_and_user({template_name => "acqui/uncertainprice.tmpl",
+ = get_template_and_user({template_name => "acqui/uncertainprice.tt",
query => $input,
type => "intranet",
authnotrequired => 0,
booksellerphone =>$bookseller->{'phone'},
booksellerfax => $bookseller->{'fax'},
booksellerurl => $bookseller->{'url'},
- booksellercontact => $bookseller->{'contact'},
- booksellercontpos => $bookseller->{'contpos'},
- booksellercontphone => $bookseller->{'contphone'},
- booksellercontaltphone => $bookseller->{'contaltphone'},
- booksellercontfax => $bookseller->{'contfax'},
- booksellercontemail => $bookseller->{'contemail'},
- booksellercontnotes => $bookseller->{'contnotes'},
booksellernotes => $bookseller->{'notes'},
basketcount => $bookseller->{'basketcount'},
subscriptioncount => $bookseller->{'subscriptioncount'},
owner => $owner,
scriptname => "/cgi-bin/koha/acqui/uncertainprice.pl");
+$template->{'VARS'}->{'contacts'} = $bookseller->{'contacts'};
output_html_with_http_headers $input, $cookie, $template->output;