From 7f820f8f8e6634a1a20325e21afd6971bfc85276 Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Thu, 23 Nov 2006 07:26:46 +0000 Subject: [PATCH] Repaired calculation display of formula in goods and services. locale/de need to be fixed... --- bin/mozilla/ic.pl | 5 ++++- bin/mozilla/io.pl | 2 +- templates/webpages/generic/calculate_qty_de.html | 2 +- templates/webpages/generic/calculate_qty_master.html | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) 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 @@