From: Joe Date: Fri, 19 Sep 2014 07:06:11 +0000 (+0200) Subject: Set default Show Also Allocated to Yes in aged reports, just like on screen transactions. X-Git-Tag: 2.3-final~108 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=96ad9190fa3637a41b3161f5b99fc044cbe01867;p=fa-stable.git Set default Show Also Allocated to Yes in aged reports, just like on screen transactions. --- diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc index e773f57a..d9076691 100644 --- a/reporting/includes/reports_classes.inc +++ b/reporting/includes/reports_classes.inc @@ -137,6 +137,9 @@ class BoxReports if ($ctrl) break; } if ($ctrl == '') { + if (($id == 102 || $id == 202) && $cnt == 3) // set default Show Also Allocated to Yes in aged reports 2014-09-19 Joe Hunt + $_POST['PARAM_'.$cnt] = 1; + if (isset($_COOKIE['select'][$id][$cnt])) // saved parameters 2010-10-06 Joe Hunt $_POST['PARAM_'.$cnt] = $_COOKIE['select'][$id][$cnt]; $ctrl = $this->get_ctrl('PARAM_'.$cnt, $type);