Allowed multiply bank accounts on same gl account, removed bank trans type.
[fa-stable.git] / gl / manage / gl_accounts.php
index 1593863318fb9b7dffd89d8ddd37c7a7305cd046..2520d355cfd7e43038e023123e378dfa4bc07bcf 100644 (file)
@@ -70,9 +70,8 @@ if (isset($_POST['add']) || isset($_POST['update']))
                add_gl_account($_POST['account_code'], $_POST['account_name'], $_POST['account_type'], $_POST['account_code2'], $_POST['tax_code']);
                        $selected_account = $_POST['AccountList'] = $_POST['account_code'];
                        display_notification(_("New account has been added."));
-                       $Ajax->activate('_page_body');
                }
-
+               $Ajax->activate('_page_body');
        }
 } 
 
@@ -236,7 +235,7 @@ text_row_ex(_("Account Name:"), 'account_name', 60);
 
 gl_account_types_list_row(_("Account Group:"), 'account_type', null);
 
-tax_types_list_row(_("Tax Type:"), 'tax_code', null, _('No Tax'));
+tax_groups_list_row(_("Tax Group:"), 'tax_code', null, _('No Tax'));
 
 end_table(1);