X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freports_classes.inc;h=363e2284ad8015593a45621d38ef865af714abf7;hb=d567a10b7925c8bb97c734e213d6651a979af29d;hp=0dabe11ca676661ab3d027d91873501709b355d9;hpb=97966b2963e49eee1523dceab67eaa2c6c2ee1b0;p=fa-stable.git
diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc
index 0dabe11c..363e2284 100644
--- a/reporting/includes/reports_classes.inc
+++ b/reporting/includes/reports_classes.inc
@@ -1,4 +1,14 @@
.
+***********************************************************************/
class BoxReports
{
var $ar_classes;
@@ -20,7 +30,8 @@ class BoxReports
function getDisplay($class=null)
{
- global $table_style2;
+ global $table_style2, $comp_path, $path_to_root, $pdf_debug, $Ajax;
+
$temp = array_values($this->ar_classes);
$display_class = $class==null ? $temp[0] : $this->ar_classes[$class];
$class_counter = 0;
@@ -30,34 +41,56 @@ class BoxReports
$st_classes = "" . _("Report Classes:") . "
";
foreach($this->ar_classes as $key=>$value)
{
- $style = $class_counter==0 ? '' : $style = "style='display:none'";
- $st_classes .= "$key
";
- $st_reports .= "