X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freports_classes.inc;h=1e0090a148725bb8f688f0754e07ea0b056b57cc;hb=c4eae7a18f0eb824e6eda7be2ba6fa820e9e58c9;hp=e180ed3b5fde15a8cb85e2bc51f0e0ffdd1d4c27;hpb=b1c79afd0a78ec37ff813f1305e9e0804be78ef3;p=fa-stable.git
diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc
index e180ed3b..1e0090a1 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,35 +41,58 @@ class BoxReports
$st_classes = "" . _("Report Classes:") . "
";
foreach($this->ar_classes as $key=>$value)
{
- $style = $class_counter==0 ? '' : $style = "style='display:none'";
+ $style = $class_counter==$_REQUEST['Class'] ? '' : "style='display:none'";
$acc = access_string($key);
- $st_classes .= "$acc[0]
";
- $st_reports .= "