projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backup and Restore: system settings has not been refreshed after restore (typo).
[fa-stable.git]
/
gl
/
inquiry
/
balance_sheet.php
diff --git
a/gl/inquiry/balance_sheet.php
b/gl/inquiry/balance_sheet.php
index 0243be4d9c3bf1b78b10b9e1490450249689702e..e3f8a454fa26804848b008dbbcef4b9c3d46414d 100644
(file)
--- 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;
$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,
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
}
//Display Type Summary if total is != 0
@@
-156,7
+156,7
@@
function display_balance_sheet()
div_start('balance_tbl');
div_start('balance_tbl');
- start_table(TABLESTYLE, "width=
30%");
+ start_table(TABLESTYLE, "width=
'30%'");
if (!$drilldown) //Root Level
{
if (!$drilldown) //Root Level
{
@@
-172,7
+172,7
@@
function display_balance_sheet()
while ($class = db_fetch($classresult))
{
$classclose = 0.0;
while ($class = db_fetch($classresult))
{
$classclose = 0.0;
- $convert = get_class_type_convert($class["ctype"]);
+ $convert = get_class_type_convert($class["ctype"]);
$ctype = $class["ctype"];
$classname = $class["class_name"];
$ctype = $class["ctype"];
$classname = $class["class_name"];
@@
-185,7
+185,7
@@
function display_balance_sheet()
while ($accounttype=db_fetch($typeresult))
{
$TypeTotal = display_type($accounttype["id"], $accounttype["name"], $from, $to,
while ($accounttype=db_fetch($typeresult))
{
$TypeTotal = display_type($accounttype["id"], $accounttype["name"], $from, $to,
- $convert, $dimension, $dimension2, $drilldown
, $path_to_root);
+ $convert, $dimension, $dimension2, $drilldown
);
//Print Summary
if ($TypeTotal != 0 )
{
//Print Summary
if ($TypeTotal != 0 )
{
@@
-252,7
+252,7
@@
function display_balance_sheet()
table_section_title($_POST["AccGrp"]. " " . get_account_type_name($_POST["AccGrp"]));
$classclose = display_type($accounttype["id"], $accounttype["name"], $from, $to,
table_section_title($_POST["AccGrp"]. " " . get_account_type_name($_POST["AccGrp"]));
$classclose = display_type($accounttype["id"], $accounttype["name"], $from, $to,
- $convert, $dimension, $dimension2, $drilldown
, $path_to_root
);
+ $convert, $dimension, $dimension2, $drilldown);
}
end_table(1); // outer table
}
end_table(1); // outer table