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)?>
=TestPDF::getValueHtml($location->region_name)?> / =TestPDF::getValueHtml($location->area_manager_name)?>
Address:
=htmlspecialchars($location->address_1)?>
address_2) {
?>
=htmlspecialchars($location->address_2)?>
=htmlspecialchars($location->city)?>
=htmlspecialchars($location->legal_entity_name)?>
OPM: =htmlspecialchars($location->operations_manager_name)?>
Postcode:
=htmlspecialchars($location->postal_code)?>
Shop Name - Left:
=htmlspecialchars($test->shop_left)?>
Shop Name - Right:
=htmlspecialchars($test->shop_right)?>
Machines Powered:
=TestPDF::getBooleanHtml($values["machine_power"] ?? false)?>
Seat:
=TestPDF::getBooleanHtml($values["machine_seat"] ?? false)?>
Table/Shelf:
=TestPDF::getBooleanHtml($values["machine_table"] ?? false)?>
Machines Accessible:
=TestPDF::getBooleanHtml($values["machine_accessible"] ?? 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)?>
Think 21/25:
=TestPDF::getValueHtml($values["think_21_25"] ?? "")?>
Citizen Card Brochure Displayed:
=TestPDF::getValueHtml($value)?>
Think 21/25 Posters Displayed:
=TestPDF::getValueHtml($value)?>
Think 21/25 Poster Notes:
=TestPDF::getValueHtml($values["think_21_poster_notes"] ?? "")?>
Bar Purchase:
=TestPDF::getValueHtml($bar_purchase)?>
Bar Expenditure:
£=number_format($bar_expenditure, 2)?>
Alcohol Purchased:
=$alcohol_purchased?>
Name of Item Purchased:
=TestPDF::getValueHtml($bar_purchase_item)?>
pass ? "green" : "red";
switch($test->challenge_stage) {
case 1:
case 2:
$challenge_colour = "green";
break;
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)?>
Machine Played:
=TestPDF::getValueHtml($values["play_machine"] ?? "")?>
Machine Position:
=TestPDF::getValueHtml($values["play_machine_position"] ?? "")?>
Line of Sight of Bar:
=TestPDF::getValueHtml($value)?>
Jackpot Value:
=TestPDF::getValueHtml($play_jackpot)?>
Stake Played:
=TestPDF::getValueHtml($play_machine_stake)?>
Minutes Played:
=TestPDF::getValueHtml($values["play_minutes"] ?? "")?>
Amount Spent:
=TestPDF::getValueHtml($play_spent)?>