X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Fgl_trial_balance.php;h=b3dee997d722db482fe18f4b376840f60d91a780;hb=3626626c1d1497affa0e1b1f7da41c656e78a385;hp=d5b7bc765759bde2317bf97e11b41308fe1dd07d;hpb=d67d5295b9342c011697ce4df325197e29898588;p=fa-stable.git diff --git a/gl/inquiry/gl_trial_balance.php b/gl/inquiry/gl_trial_balance.php index d5b7bc76..b3dee997 100644 --- a/gl/inquiry/gl_trial_balance.php +++ b/gl/inquiry/gl_trial_balance.php @@ -18,6 +18,12 @@ if ($use_date_picker) page(_("Trial Balance"), false, false, "", $js); //---------------------------------------------------------------------------------------------------- +// Ajax updates +// +if (get_post('Show')) +{ + $Ajax->activate('balance_tbl'); +} function gl_inquiry_controls() @@ -30,7 +36,7 @@ function gl_inquiry_controls() date_cells(_("To:"), 'TransToDate'); check_cells(_("No zero values"), 'NoZero', null); - submit_cells('Show',_("Show")); + submit_cells('Show',_("Show"),'','', true); end_table(); end_form(); } @@ -72,6 +78,7 @@ function display_trial_balance() { global $table_style, $path_to_root; + div_start('balance_tbl'); start_table($table_style); $tableheader = " " . _("Account") . " @@ -124,7 +131,7 @@ function display_trial_balance() } end_table(1); - + div_end(); } //----------------------------------------------------------------------------------------------------