diff --git a/admin/reports.inc.php b/admin/reports.inc.php index f99f1d84..d7fec546 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -701,6 +701,7 @@ foreach($report_stock as $n=>$v) { $q = "SELECT $sel $q $filter_query $group_query ORDER BY $order"; $r = mysql_query($q); +// print_r($report); // print_r($report['filter']); // echo "$q"; diff --git a/admin/reports_gen.php b/admin/reports_gen.php index d6a689c3..c6cbd7c5 100644 --- a/admin/reports_gen.php +++ b/admin/reports_gen.php @@ -32,6 +32,7 @@ $type = stripslashes($_GET['type']); $stock = stripslashes($_GET['stock']); $year = intval($_GET['year']); + $include_incomplete_registrations = ($_GET['include_incomplete_registrations'] == 'yes') ? 'yes' : ''; $show_options = array_key_exists('show_options', $_GET); if($year < 1000) $year = $config['FAIRYEAR']; @@ -57,7 +58,12 @@ switch($_GET['action']) { case 'dialog_gen': ?>