From 97e289a3d316f3e5deaf691ecc982b0332f2c28d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 4 Apr 2007 14:48:01 +0000 Subject: [PATCH] =?utf8?q?Bessere=20Einr=C3=BCckung.=20Kleinen=20Fehler=20?= =?utf8?q?beseitigt,=20der=20letztens=20durch=20Umstellung=20auf=20$cgi->h?= =?utf8?q?idden()=20reingekommen=20ist=20(selected=5Funit=5F*=20muss=20als?= =?utf8?q?=20unit=5Fold=5F*=20=C3=BCbergeben=20werden).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index eefdefe0d..476ff0153 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -427,17 +427,19 @@ sub display_row { map { print "\n$column_data{$_}" } @column_index; - print qq| - -|; -map({ print($cgi->hidden("-name" => $_, "-value" => $form->{$_})); } - ("orderitems_id_$i", "bo_$i", "pricegroup_old_$i", "price_old_$i", "selected_unit_$i", "id_$i", "inventory_accno_$i", "bin_$i", - "partsgroup_$i", "partnotes_$i", "income_accno_$i", "expense_accno_$i", "listprice_$i", "assembly_$i", "taxaccounts_$i", - "ordnumber_$i", "transdate_$i", "cusordnumber_$i", "longdescription_$i", "basefactor_$i")); -print qq| - -|; + print("\n" . + $cgi->hidden("-name" => "unit_old_$i", + "-value" => $form->{"selected_unit_$i"}) + . "\n" . + $cgi->hidden("-name" => "price_new_$i", + "-value" => $form->format_amount(\%myconfig, $form->{"price_new_$i"})) + . "\n"); + map({ print($cgi->hidden("-name" => $_, "-value" => $form->{$_}) . "\n"); } + ("orderitems_id_$i", "bo_$i", "pricegroup_old_$i", "price_old_$i", + "id_$i", "inventory_accno_$i", "bin_$i", "partsgroup_$i", "partnotes_$i", + "income_accno_$i", "expense_accno_$i", "listprice_$i", "assembly_$i", + "taxaccounts_$i", "ordnumber_$i", "transdate_$i", "cusordnumber_$i", + "longdescription_$i", "basefactor_$i")); ######################################## # Eintrag fuer Version 2.2.0 geaendert # -- 2.20.1