Enabling GST system preference to control display of GST values

This commit is contained in:
oleonard 2006-09-13 18:28:12 +00:00
parent 04200feea4
commit 8f2de7c9c2
3 changed files with 5 additions and 13 deletions

View File

@ -205,9 +205,7 @@ $template->param( existing => $biblio,
ecost => $data->{'ecost'},
notes => $data->{'notes'},
publishercode => $data->{'publishercode'},
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),
GST => C4::Context->preference("gist"),
);
output_html_with_http_headers $input, $cookie, $template->output;

View File

@ -124,9 +124,7 @@ $template->param(orderby=>$order, filter=>$code, datefrom=>$datefrom,dateto=>$da
$template->param(
name => $booksellers[0]->{'name'},
supplierid => $supplierid,
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),
GST => C4::Context->preference("gist"),
);
output_html_with_http_headers $input, $cookie, $template->output;

View File

@ -74,9 +74,7 @@ if ($op eq "display"){
discount => $booksellers[0]->{'discount'},
invoiceprice=>$booksellers[0]->{'invoiceprice'},
listprice=>$booksellers[0]->{'listprice'},
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),
GST => C4::Context->preference("gist"),
);
}else{
my ($count, $currencies) = &getcurrencies();
@ -120,10 +118,8 @@ if ($op eq "display"){
discount => $booksellers[0]->{'discount'},
loop_pricescurrency => \@loop_pricescurrency,
loop_invoicecurrency => \@loop_invoicecurrency,
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),
enter=>1,
GST => C4::Context->preference("gist"),
enter=>1,
);
}
output_html_with_http_headers $query, $cookie, $template->output;