projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a20f3
)
Set default Show Also Allocated to Yes in aged reports, just like on screen transactions.
author
Joe
<unknown>
Fri, 19 Sep 2014 07:06:11 +0000
(09:06 +0200)
committer
Joe
<unknown>
Fri, 19 Sep 2014 07:06:11 +0000
(09:06 +0200)
reporting/includes/reports_classes.inc
patch
|
blob
|
history
diff --git
a/reporting/includes/reports_classes.inc
b/reporting/includes/reports_classes.inc
index e773f57a257ee4bcbd91eb86cfa4cf4faac597cd..d9076691cc04b0059c9dfb09968fa4ed2e31c15a 100644
(file)
--- 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);