From: Udo Spallek Date: Thu, 23 Nov 2006 07:26:46 +0000 (+0000) Subject: Repaired calculation display of formula in goods and services. X-Git-Tag: release-2.4.0^2~195 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7f820f8f8e6634a1a20325e21afd6971bfc85276;p=kivitendo-erp.git Repaired calculation display of formula in goods and services. locale/de need to be fixed... --- diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 51be87c0c..d190a4887 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -2494,7 +2494,6 @@ sub form_header { $formel = qq||; - $formel = ""; $imagelinks = qq| @@ -2634,11 +2633,15 @@ sub form_header { | . $locale->text('Notes') . qq| + | . $locale->text('Formula') . qq| $notes + + $formel + diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index b71ca90b7..3cb1e82c4 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -300,7 +300,7 @@ sub display_row { $column_data{qty} = qq|format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec) .qq|>|; - if ($form->{formel}) { + if ($form->{"formel_$i"}) { $column_data{qty} .= qq| |; } diff --git a/templates/webpages/generic/calculate_qty_de.html b/templates/webpages/generic/calculate_qty_de.html index a5e110a68..c87570efd 100644 --- a/templates/webpages/generic/calculate_qty_de.html +++ b/templates/webpages/generic/calculate_qty_de.html @@ -38,7 +38,7 @@