"Quarterly", "monthly" => "Monthly", ]; $date_ranges = [ "ytd" => "Year to Date", //"unbound" => "Unbound", "custom" => "Custom", ]; $retests_options = [ 0 => "Exclude", 1 => "Retests Only" ]; $years = range(2018, date("Y")); $date_range_custom_style = ($date_range === "custom") ? "" : "display: none"; $date_range_value = ""; if($date_start && $date_end) { list($min_year, $min_month, $min_day) = explode("-", $date_start); list($max_year, $max_month, $max_day) = explode("-", $date_end); $date_range_value = "$min_day/$min_month/$min_year - $max_day/$max_month/$max_year"; } ?>

name)?> Reports


$display) { $checked = ($value === $date_range) ? "checked" : ""; ?>
data-date-range-radio-input />
" placeholder="Enter location IDs" /> Separate each location ID with a space.
Leave blank to generate a report for all locations.
canSeeMissingData()) { /** * @param string $field * @param Location[] $locations * @return void */ $render_locations_missing_data = static function(string $field, array $locations): void { ?>
There are some locations that are missing "" information:

Report

Retests Excluded Retests Only Retests Included

Test Count
testCount?>
passCount)) { $pass_percentage = 0; if($total_data->testCount > 0) { $pass_percentage = number_format(($total_data->passCount * 100) / $total_data->testCount, 2); } ?>
Pass/Fail Count
passCount?> / failCount?> (%)

Chart List

$chart) { ?> getTitle())?>
$chart) { if($index > 0) { ?>
beforeHtml) { echo $chart->beforeHtml; } ?> print) { $chart->printDataTable(); } if($chart->afterHtml) { echo $chart->afterHtml; } } ?>
" />
"Region", "data" => $region_data ], (object) [ "name" => "Area Manager", "data" => $area_manager_data ], (object) [ "name" => "Brand", "data" => $brand_data ] ] ?>

Extra Information

name . " Data"; $entity_type = $table->name; ?>

data as $entity_name => $rows) { ?>

:

$data) { $rate = ($data->testCount == 0) ? "0.00" : number_format(($data->passCount * 100) / $data->testCount, 2); $label = $key_labels[$index]; ?>
Period Tests Passes Fails Rate
testCount)?> passCount)?> failCount)?> %