Fixed typo causing error when adding new tax type.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 6 Apr 2008 19:52:22 +0000 (19:52 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 6 Apr 2008 19:52:22 +0000 (19:52 +0000)
CHANGELOG.txt
taxes/tax_types.php

index e81a5adedba9b734db315792a2439b2c36183417..4c0191fa9202edd2f344add2163c3baecedfe01f 100644 (file)
@@ -29,6 +29,8 @@ $ install.html
 06-Apr-2008 Janusz Dobrowolski
 # Sales invoice edition denied for documents created in FA 1.xx because of nonportable differences in gl posting/db schema.
   /sales/customer_invoice.php
+# Fixed typo causing error while adding new tax type.
+  /taxes/tax_types.php
   
 05-Apr-2008 Joe Hunt
 # Fixed a bug when creating subfolder for new companies. Should be company id and not the table pref counter.
index 51fd5760ba7a574be35749d67a9f3d7e088c1548..55e40950d43ff4534c5a5272aae4d9c21087507b 100644 (file)
@@ -42,7 +42,7 @@ if (isset($_POST['ADD_ITEM']) && can_process())
 {
 
        add_tax_type($_POST['name'], $_POST['sales_gl_code'],
-               $_POST['purchasing_gl_code'], imput_num('rate'));
+               $_POST['purchasing_gl_code'], input_num('rate'));
        meta_forward($_SERVER['PHP_SELF']);
 }