From 39c785175e25929af8c503f6e97fadd38525cf90 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 13 Dec 2010 22:32:43 +0000 Subject: [PATCH] Dispaly group no in Balance Sheet/Profit Loss Drilldown. --- CHANGELOG.txt | 7 ++++++- gl/inquiry/balance_sheet.php | 6 +++--- gl/inquiry/profit_loss.php | 6 +++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8d2b12c2..c993daf1 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,7 +19,12 @@ Legend: ! -> Note $ -> Affected files -12-Dec-2010 Joe hunt +13-Dec-2010 Joe Hunt +! Dispaly group no in Balance Sheet/Profit Loss Drilldown. +$ /gl/inquiry/balance_sheep.php + /gl/inquiry/profit_loss.php + +12-Dec-2010 Joe Hunt # Removed Timezone warnings $ config.default.php /includes/date_functions.inc diff --git a/gl/inquiry/balance_sheet.php b/gl/inquiry/balance_sheet.php index eafb4855..8bf52757 100644 --- a/gl/inquiry/balance_sheet.php +++ b/gl/inquiry/balance_sheet.php @@ -109,7 +109,7 @@ function display_type ($type, $typename, $from, $to, $convert, $dimension, $dime { $url = "" . $typename .""; + . "&AccGrp=" . $type ."'>" . $type . " " . $typename .""; alt_table_row_color($k); label_cell($url); @@ -192,7 +192,7 @@ function display_balance_sheet() { $url = "" . $accounttype['name'] .""; + . "&AccGrp=" . $accounttype['id'] ."'>" . $accounttype['id']." ".$accounttype['name'] .""; alt_table_row_color($k); label_cell($url); amount_cell($TypeTotal * $convert); @@ -250,7 +250,7 @@ function display_balance_sheet() $convert = get_class_type_convert($class["ctype"]); //Print Class Name - table_section_title(get_account_type_name($_POST["AccGrp"])); + 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); diff --git a/gl/inquiry/profit_loss.php b/gl/inquiry/profit_loss.php index 46b8f44b..351fc3d7 100644 --- a/gl/inquiry/profit_loss.php +++ b/gl/inquiry/profit_loss.php @@ -127,7 +127,7 @@ function display_type ($type, $typename, $from, $to, $begin, $end, $compare, $co { $url = "" . $typename .""; + . "&AccGrp=" . $type ."'>" . $type . " " . $typename .""; alt_table_row_color($k); label_cell($url); @@ -266,7 +266,7 @@ function display_profit_and_loss() { $url = "" . $accounttype['name'] .""; + . "&AccGrp=" . $accounttype['id'] ."'>" . $accounttype['id'] . " " . $accounttype['name'] .""; alt_table_row_color($k); label_cell($url); @@ -310,7 +310,7 @@ function display_profit_and_loss() $convert = get_class_type_convert($class["ctype"]); //Print Class Name - table_section_title(get_account_type_name($_POST["AccGrp"]),4); + table_section_title($_POST["AccGrp"] . " " . get_account_type_name($_POST["AccGrp"]),4); echo $tableheader; $classtotal = display_type($accounttype["id"], $accounttype["name"], $from, $to, $begin, $end, $compare, $convert, -- 2.30.2