From eb8a578d945342dede6d404116a5698d2c5825bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20K=C3=B6hler?= Date: Sat, 26 Nov 2005 15:27:29 +0000 Subject: [PATCH] Merge von 635 aus unstable: Formulare Ueber die Variable <%tax_rate%> kann nun in den Druckvorlagen der Steuersatz einer Zeile mit ausgegeben werden. --- SL/IS.pm | 3 ++- SL/OE.pm | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/SL/IS.pm b/SL/IS.pm index 8664b994e..c5950b15a 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -214,7 +214,8 @@ sub invoice_details { $taxbase{$item} += $taxbase; } } - + $tax_rate = $taxrate*100; + push(@{ $form->{tax_rate} }, qq|$tax_rate|); if ($form->{"assembly_$i"}) { $sameitem = ""; diff --git a/SL/OE.pm b/SL/OE.pm index d5d1aa7ba..cf20a1b07 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -857,6 +857,9 @@ sub order_details { } } + $tax_rate = $taxrate*100; + push(@{ $form->{tax_rate} }, qq|$tax_rate|); + if ($form->{"assembly_$i"}) { $sameitem = ""; -- 2.20.1