pass ? "pass.png" : "fail.png";
// COVID-19
$covid_19 = in_array("COVID-19", $template->getKeys());
?>
=htmlspecialchars($location_text)?>
=htmlspecialchars($customer->region_field_name)?> / =htmlspecialchars($customer->area_manager_field_name)?>:
=TestPDF::getValueHtml($location->region)?> / =TestPDF::getValueHtml($location->area_manager)?>
Address:
=htmlspecialchars($location->address_1)?>
address_2) {
?>
=htmlspecialchars($location->address_2)?>
=htmlspecialchars($location->city)?>
Postcode:
=htmlspecialchars($location->postal_code)?>
Shop Name - Left:
=htmlspecialchars($test->shop_left)?>
Shop Name - Right:
=htmlspecialchars($test->shop_right)?>
Door Sensor:
=TestPDF::getBooleanHtml($values["door_sensor_alert"] ?? false)?>
Date:
=htmlspecialchars($date_start)?>
Entry:
=htmlspecialchars($time_start)?>
Exit:
=htmlspecialchars($time_end)?>
Duration:
=htmlspecialchars($duration_text)?>
Social Distancing Signage:
=TestPDF::getBooleanHtml($values["social_distancing_signage"] ?? false)?>
Entrance Hand Sanitiser:
=TestPDF::getBooleanHtml($values["entrance_hand_sanitiser"] ?? false)?>
Social Distancing Measures:
=TestPDF::getBooleanHtml($values["social_distancing_measures"] ?? false)?>
Name:
=TestPDF::getValueHtml($test->challenger_name)?>
Gender:
=TestPDF::getValueHtml(Util::getGenderText($test->challenger_gender))?>
Description:
=TestPDF::getValueHtml($test->challenger_description)?>
pass ? "green" : "red";
switch($test->challenge_stage) {
case 1:
$challenge_colour = "green";
break;
case 2:
case 3:
$challenge_colour = "orange";
break;
case 4:
case 5:
default:
$challenge_colour = "red";
break;
}
?>
Result:
=htmlspecialchars($test->getPassText())?>
ID Stage:
=htmlspecialchars($test->challenge_stage . " - " . $test->getChallengeStageText())?>
1: Challenge on entry
2: Challenge while browsing
3: Challenge during play
4: Challenge on exit
5: No challenge
Eye Contact:
=($test->challenger_eye_contact ? "Yes" : "No")?>
Description:
=TestPDF::getValueHtml($test->challenge_description)?>