From 96ad9190fa3637a41b3161f5b99fc044cbe01867 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 19 Sep 2014 09:06:11 +0200 Subject: [PATCH] Set default Show Also Allocated to Yes in aged reports, just like on screen transactions. --- reporting/includes/reports_classes.inc | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2