From: Stephan Köhler Date: Sat, 26 Nov 2005 15:27:29 +0000 (+0000) Subject: Merge von 635 aus unstable: Formulare X-Git-Tag: release-2.2.0~84 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eb8a578d945342dede6d404116a5698d2c5825bc;p=kivitendo-erp.git Merge von 635 aus unstable: Formulare Ueber die Variable <%tax_rate%> kann nun in den Druckvorlagen der Steuersatz einer Zeile mit ausgegeben werden. --- 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 = "";