projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0004964] Balance Sheet Drilldown, Profit and Loss Drilldown: Fixed invalid navigatio...
[fa-stable.git]
/
gl
/
inquiry
/
balance_sheet.php
diff --git
a/gl/inquiry/balance_sheet.php
b/gl/inquiry/balance_sheet.php
index e2cd107536108864a5b4e74d0b9724d2eb9545d5..6479ff83380ac228617143d780fa4002d639ffc3 100644
(file)
--- a/
gl/inquiry/balance_sheet.php
+++ b/
gl/inquiry/balance_sheet.php
@@
-138,9
+138,9
@@
function display_balance_sheet()
{
global $path_to_root;
{
global $path_to_root;
- $from = begin_fiscalyear();
$to = $_POST['TransToDate'];
$to = $_POST['TransToDate'];
-
+ $from = get_fiscalyear_begin_for_date($to);
+
if (!isset($_POST['Dimension']))
$_POST['Dimension'] = 0;
if (!isset($_POST['Dimension2']))
if (!isset($_POST['Dimension']))
$_POST['Dimension'] = 0;
if (!isset($_POST['Dimension2']))
@@
-252,7
+252,8
@@
function display_balance_sheet()
$convert, $dimension, $dimension2, $drilldown);
}
$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();
}
div_end();
}
@@
-266,5
+267,5
@@
display_balance_sheet();
end_form();
end_form();
-end_page();
+end_page(
false, true
);