X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Fbalance_sheet.php;h=e2cd107536108864a5b4e74d0b9724d2eb9545d5;hb=8d3c6352a53d725389de634469ca2383a4baa867;hp=0243be4d9c3bf1b78b10b9e1490450249689702e;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/gl/inquiry/balance_sheet.php b/gl/inquiry/balance_sheet.php index 0243be4d..e2cd1075 100644 --- a/gl/inquiry/balance_sheet.php +++ b/gl/inquiry/balance_sheet.php @@ -47,9 +47,9 @@ if (isset($_GET["AccGrp"])) //---------------------------------------------------------------------------------------------------- -function display_type ($type, $typename, $from, $to, $convert, $dimension, $dimension2, $drilldown, $path_to_root) +function display_type ($type, $typename, $from, $to, $convert, $dimension, $dimension2, $drilldown) { - global $levelptr, $k; + global $path_to_root, $levelptr, $k; $acctstotal = 0; $typestotal = 0; @@ -86,7 +86,7 @@ function display_type ($type, $typename, $from, $to, $convert, $dimension, $dime while ($accounttype=db_fetch($result)) { $typestotal += display_type($accounttype["id"], $accounttype["name"], $from, $to, - $convert, $dimension, $dimension2, $drilldown, $path_to_root); + $convert, $dimension, $dimension2, $drilldown); } //Display Type Summary if total is != 0 @@ -104,7 +104,6 @@ function display_type ($type, $typename, $from, $to, $convert, $dimension, $dime $parent1 = $acctype1["parent"]; if ($drilldown && $parent1 == $_POST["AccGrp"]) //END Patch#2 - //elseif ($drilldown && $type != $_POST["AccGrp"]) { $url = "