X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Fbalance_sheet.php;h=6479ff83380ac228617143d780fa4002d639ffc3;hb=0057896b8b8abb1e74091f56a2946b6d3b557e82;hp=e2cd107536108864a5b4e74d0b9724d2eb9545d5;hpb=d8582e452b443b4cb363c3d02d2b45a65de5a3b5;p=fa-stable.git diff --git a/gl/inquiry/balance_sheet.php b/gl/inquiry/balance_sheet.php index e2cd1075..6479ff83 100644 --- a/gl/inquiry/balance_sheet.php +++ b/gl/inquiry/balance_sheet.php @@ -138,9 +138,9 @@ function display_balance_sheet() { global $path_to_root; - $from = begin_fiscalyear(); $to = $_POST['TransToDate']; - + $from = get_fiscalyear_begin_for_date($to); + if (!isset($_POST['Dimension'])) $_POST['Dimension'] = 0; if (!isset($_POST['Dimension2'])) @@ -252,7 +252,8 @@ function display_balance_sheet() $convert, $dimension, $dimension2, $drilldown); } - end_table(1); // outer table + end_table(); // outer table + hyperlink_params($_SERVER['PHP_SELF'], _("Back"), "TransFromDate=". $from . "&TransToDate=" . $to . "&Dimension=" . $dimension . "&Dimension2=" . $dimension2); div_end(); } @@ -266,5 +267,5 @@ display_balance_sheet(); end_form(); -end_page(); +end_page(false, true);