X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Fprofit_loss.php;h=351fc3d738003fe07a29de95ae3b8d59986de8f2;hb=39c785175e25929af8c503f6e97fadd38525cf90;hp=46b8f44bb98b31062f212e105597a0a04ff638b4;hpb=b83080070a813fb3f4af7f7c86f6b0e8ae0ecd51;p=fa-stable.git
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,