From 8f2de7c9c22b9bef4de9ac1ac64dc6610fa0ec08 Mon Sep 17 00:00:00 2001 From: oleonard Date: Wed, 13 Sep 2006 18:28:12 +0000 Subject: [PATCH] Enabling GST system preference to control display of GST values --- acqui/newbiblio.pl | 4 +--- acqui/recieveorder.pl | 4 +--- acqui/supplier.pl | 10 +++------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/acqui/newbiblio.pl b/acqui/newbiblio.pl index 26fc63228a..1e3997f474 100755 --- a/acqui/newbiblio.pl +++ b/acqui/newbiblio.pl @@ -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; diff --git a/acqui/recieveorder.pl b/acqui/recieveorder.pl index bec87c2a9c..52ff88e0c5 100755 --- a/acqui/recieveorder.pl +++ b/acqui/recieveorder.pl @@ -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; diff --git a/acqui/supplier.pl b/acqui/supplier.pl index 167a5bfd52..a75d46f907 100755 --- a/acqui/supplier.pl +++ b/acqui/supplier.pl @@ -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;