0]); $exclude_customer_ids = array_column($exclude_customers, "id"); $exclude_projects = Project::query(["customer_id" => $exclude_customer_ids]); $exclude_project_ids = array_column($exclude_projects, "id"); ?>

utc()->format("Y-m-d H:i:s"); $dts_end = $dt_end->utc()->format("Y-m-d H:i:s"); $test_count = Test::count([ "project_id" => Constraint::notIn($exclude_project_ids), "dts_start" => Constraint::between($dts_start, $dts_end), "status" => Test::STATUS_COMPLETED ]); $projects = Project::query([ "customer_id" => Constraint::notIn($exclude_customer_ids), "dts_start" => Constraint::between($dts_start, $dts_end), ], [ "sort" => "dts_start" ]); ?>

getCompletedTestCount(); $percentage = round(($completed_count / $project->test_count) * 100); if($percentage > 100) $percentage = 100; ?> name)?>
% ( of test_count?>)