X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fgl_budget.php;h=6c2ad64b3fc66b6e05833fcf1554957bb78f5ef1;hb=e221114b610740861dae6b7b4af5d0af28abbe21;hp=26c648621874831e2cd2c08514687682d41b56f6;hpb=0bf933423b9645bcb57390c478d4fdaf0c895049;p=fa-stable.git diff --git a/gl/gl_budget.php b/gl/gl_budget.php index 26c64862..6c2ad64b 100644 --- a/gl/gl_budget.php +++ b/gl/gl_budget.php @@ -46,7 +46,6 @@ if (isset($_POST['add']) || isset($_POST['delete'])) else display_notification_centered(_("The Budget has been deleted.")); - //meta_forward($_SERVER['PHP_SELF']); $Ajax->activate('budget_tbl'); } if (isset($_POST['submit']) || isset($_POST['update'])) @@ -59,7 +58,7 @@ start_form(); if (db_has_gl_accounts()) { $dim = get_company_pref('use_dimension'); - start_table($table_style2); + start_table(TABLESTYLE2); fiscalyears_list_row(_("Fiscal Year:"), 'fyear', null); gl_all_accounts_list_row(_("Account Code:"), 'account', null); if (!isset($_POST['dim1'])) @@ -71,7 +70,7 @@ if (db_has_gl_accounts()) dimensions_list_row(_("Dimension")." 1", 'dim1', $_POST['dim1'], true, null, false, 1); dimensions_list_row(_("Dimension")." 2", 'dim2', $_POST['dim2'], true, null, false, 2); } - else if ($dim == 1) + elseif ($dim == 1) { dimensions_list_row(_("Dimension"), 'dim1', $_POST['dim1'], true, null, false, 1); hidden('dim2', 0); @@ -84,7 +83,7 @@ if (db_has_gl_accounts()) submit_row('submit', _("Get"), true, '', '', true); end_table(1); div_start('budget_tbl'); - start_table($table_style2); + start_table(TABLESTYLE2); $showdims = (($dim == 1 && $_POST['dim1'] == 0) || ($dim == 2 && $_POST['dim1'] == 0 && $_POST['dim2'] == 0)); if ($showdims) @@ -140,4 +139,3 @@ end_form(); end_page(); -?>