X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freports_classes.inc;h=1e0090a148725bb8f688f0754e07ea0b056b57cc;hb=c4eae7a18f0eb824e6eda7be2ba6fa820e9e58c9;hp=363e2284ad8015593a45621d38ef865af714abf7;hpb=b506d68d066badbfee8496f31bc0219f697c6f1a;p=fa-stable.git diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc index 363e2284..1e0090a1 100644 --- a/reporting/includes/reports_classes.inc +++ b/reporting/includes/reports_classes.inc @@ -44,15 +44,17 @@ class BoxReports $style = $class_counter==$_REQUEST['Class'] ? '' : "style='display:none'"; $acc = access_string($key); $st_classes .= "$acc[0]
"; + .$_SERVER['PHP_SELF']."?Class=$class_counter'" + ." class='menu_option' id='".default_focus()."'" + ." onclick='return showClass($class_counter);'$acc[1]>$acc[0]
"; $st_reports .= "\n"; foreach($value as $report) { $acc = access_string($report->name); $st_reports .= "
" . _("Reports For Class: ") . " $key
id" - ."'$acc[1]>$acc[0]
\n"; + .$_SERVER['PHP_SELF']."?Class=$class_counter&rep_id=$report->id'" + ." id='".default_focus()."'" + ."$acc[1]>$acc[0]
\n"; if (isset($_REQUEST['rep_id']) && $_REQUEST['rep_id']==$report->id) { $action = $path_to_root.'/reporting/prn_redirect.php'; @@ -61,8 +63,8 @@ class BoxReports . "
\n"; $st_params .= hidden('REP_ID', $report->id, false); $st_params .= submit('Rep'.$report->id, - _("Display: ") . access_string($report->name,true), - false, '', $pdf_debug==0) . '

'; + _("Display: ") . access_string($report->name, true), + false, '', $pdf_debug ? false : 'default') . '

'; $st_params .= $report->getDisplay() . "\n
\n"; $Ajax->addUpdate(true, 'rep_form', $st_params);