From 0463a0bb9deb1e683727ab2bf4900ebe49117f8a Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Thu, 17 Nov 2005 10:26:33 +0000 Subject: [PATCH] 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 e0b6ab6b9..ac507d039 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -862,6 +862,9 @@ sub order_details { } } + $tax_rate = $taxrate*100; + push(@{ $form->{tax_rate} }, qq|$tax_rate|); + if ($form->{"assembly_$i"}) { $sameitem = ""; -- 2.20.1