projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928fd72
)
Bug in rates display fixed in single form layout.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sun, 20 Sep 2009 16:31:32 +0000
(16:31 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sun, 20 Sep 2009 16:31:32 +0000
(16:31 +0000)
taxes/tax_groups.php
patch
|
blob
|
history
diff --git
a/taxes/tax_groups.php
b/taxes/tax_groups.php
index 8e879cd4e97a504a2dd7b4ce95a97604dcaec972..07cda24372a2bc9fe4ae5f496c19d406c18e4643 100644
(file)
--- 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);