From: Janusz Dobrowolski Date: Sun, 20 Sep 2009 16:31:32 +0000 (+0000) Subject: Bug in rates display fixed in single form layout. X-Git-Tag: v2.4.2~19^2~1223 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c28ffac7e8e0717ef545c4a14a6b66cbe56f8456;p=fa-stable.git Bug in rates display fixed in single form layout. --- diff --git a/taxes/tax_groups.php b/taxes/tax_groups.php index 8e879cd4..07cda243 100644 --- a/taxes/tax_groups.php +++ b/taxes/tax_groups.php @@ -176,9 +176,9 @@ while ($myrow = db_fetch($result)) inactive_control_row($th); end_table(1); -end_form(); // was missing + //----------------------------------------------------------------------------------- -start_form(); // was missing + start_table($table_style2); if ($selected_id != -1) @@ -200,6 +200,7 @@ if ($selected_id != -1) $_POST['rate' . $i] = percent_format($tax_item["rate"]); $i ++; } + while($i<5) unset($_POST['tax_type_id'.$i++]); } hidden('selected_id', $selected_id);