Version changed to 2.0. Final release
[fa-stable.git] / gl / manage / gl_accounts.php
index 363c1bd2f41f7d0ab77cda2b1c9d65a9bcd8945f..55fd938906ab077b7036f4fa6e2c8ebed9a607e4 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');
        }
 } 
 
@@ -186,7 +185,7 @@ if (isset($_POST['delete']))
        {
                delete_gl_account($selected_account);
                $selected_account = $_POST['account_code'] = $_POST['AccountList'] = '';
-               display_notification("Selected account has been deleted");
+               display_notification(_("Selected account has been deleted"));
                $Ajax->activate('_page_body');
        }
 }