X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fgl_accounts.php;h=5c88705d83c8f9bcd0c7943eccf725d62d775449;hb=604d89ac6d18712d8b55bed821afe07b7106db3d;hp=363c1bd2f41f7d0ab77cda2b1c9d65a9bcd8945f;hpb=f9a5e41b07e0692301a89b475b6e1fce680e0c8d;p=fa-stable.git diff --git a/gl/manage/gl_accounts.php b/gl/manage/gl_accounts.php index 363c1bd2..5c88705d 100644 --- a/gl/manage/gl_accounts.php +++ b/gl/manage/gl_accounts.php @@ -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'); } } @@ -199,7 +198,7 @@ if (db_has_gl_accounts()) { echo "
"; echo _("Select an Account:") . " "; - gl_all_accounts_list('AccountList', null, false, false, false, + gl_all_accounts_list('AccountList', null, false, false, _('New account'), true); echo "
"; } @@ -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);