"Quarterly", "monthly" => "Monthly", ]; $date_ranges = [ "ytd" => "Year to Date", //"unbound" => "Unbound", "custom" => "Custom", ]; $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}"; } ?>
| Period | Tests | Passes | Fails | Rate |
|---|---|---|---|---|
| =htmlspecialchars($label)?> | =number_format($data->testCount)?> | =number_format($data->passCount)?> | =number_format($data->failCount)?> | =$rate?>% |
| Period | Tests | Passes | Fails | Rate |
|---|---|---|---|---|
| =htmlspecialchars($label)?> | =number_format($data->testCount)?> | =number_format($data->passCount)?> | =number_format($data->failCount)?> | =$rate?>% |