Another fix for But 1165. All taken care of now, I hope.
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Nov 2007 20:59:46 +0000 (14:59 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 27 Nov 2007 01:59:25 +0000 (19:59 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
acqui/basket.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl

index 8f646d0..8c6a5ca 100755 (executable)
@@ -185,5 +185,6 @@ $template->param(
     grand_total_est  => $grand_total_est,
     currency         => $booksellers[0]->{'listprice'},
     qty_total        => $qty_total,
+    GST => C4::Context->preference("gist"),
 );
 output_html_with_http_headers $query, $cookie, $template->output;
index bf0bad7..79cf2e1 100644 (file)
                     <!-- /TMPL_IF -->
                 
             </tr>
-            <tr>
+<!-- TMPL_IF NAME="GST" -->            <tr>
                 <th>GST</th>
                 <th><!-- TMPL_VAR NAME="gist_est" --></th>
                 <th><!-- TMPL_VAR NAME="gist" --></th>
                 <th>&nbsp;</th>
-            </tr>
+            </tr><!-- /TMPL_IF -->
             <tr>
                 <th>TOTAL  (<!-- TMPL_VAR NAME="currency" -->)</th>
                 <th><!-- TMPL_VAR NAME="grand_total_est" --></th>