"getStatusClass() . "\">" . $test->getStatusText() . "", "Result" => "getPassClass() . "\">" . $test->getPassText() . "", "Location" => "id\" target=\"_blank\">" . htmlspecialchars($location->name) . "", "Address" => htmlspecialchars($location->getDisplayAddress(["address_1", "address_2", "city", "postal_code"])), ]; if(!is_null($test->dts_end)) { $test_details = array_merge($test_details, [ "Duration" => $test->getDisplayDuration(), "Start" => Util::getDisplayDateTime(strtotime($test->dts_start . " UTC")), "End" => Util::getDisplayDateTime(strtotime($test->dts_end . " UTC")), ]); } if(in_array($test->status, [Test::STATUS_CANCELLED, Test::STATUS_COMPLETED])) { $test_details["Verified"] = Util::getDisplayDateTime(strtotime($test->dts_verified . " UTC")); } $tester_details = [ "Name" => "Unassigned" ]; if($tester) { $tester_details = [ "Name" => "id\" target=\"_blank\">" . $tester->getDisplayName() . "", "Date of Birth" => $tester->date_of_birth, "Gender" => $tester->getGenderText(), "Phone" => $tester->phone, "Score" => $tester->score ]; } function render_card_list_group($details) { ?>