|
|
@@ -38,6 +38,8 @@ if(!empty($location_ids)) {
|
|
|
$location_ids = array_filter($location_ids);
|
|
|
}
|
|
|
|
|
|
+$retests = http::value("retests", "int");
|
|
|
+
|
|
|
if(!is_array($location_ids)) {
|
|
|
$location_ids = [];
|
|
|
}
|
|
|
@@ -104,6 +106,10 @@ if($submit) {
|
|
|
$test_nvp["location_id"] = $location_ids;
|
|
|
}
|
|
|
|
|
|
+ if($retests !== false) {
|
|
|
+ $test_nvp["retest"] = $retests;
|
|
|
+ }
|
|
|
+
|
|
|
$tests = Test::query($test_nvp);
|
|
|
$test_count = count($tests);
|
|
|
|
|
|
@@ -384,5 +390,5 @@ if($submit) {
|
|
|
}
|
|
|
|
|
|
View::includeOnce("header", compact("page_title"));
|
|
|
-View::include("reports", compact("customer", "date_range", "date_start", "date_end", "date_resolution", "all_projects", "project_table_data", "exclude_project_ids", "location_ids", "charts", "data", "total_data", "locations_missing_region", "locations_missing_area_manager", "region_data", "area_manager_data", "key_labels", "has_pass_fail"));
|
|
|
+View::include("reports", compact("customer", "date_range", "date_start", "date_end", "date_resolution", "all_projects", "project_table_data", "exclude_project_ids", "location_ids", "retests", "charts", "data", "total_data", "locations_missing_region", "locations_missing_area_manager", "region_data", "area_manager_data", "key_labels", "has_pass_fail"));
|
|
|
View::includeOnce("footer");
|