getYearCycleConstraint(TIMEZONE); $display_year_cycle = $customer->getDisplayYearCycle(); $alcohol_purchased = $values["alcohol_purchased"] ?? ""; $gaming_void = ($test->void_primary || $test->void); $alcohol_void = ($test->void_secondary || $test->void); if($gaming_void) { $pass_image = "void.png"; } else { $pass_image = $test->pass ? "pass.png" : "fail.png"; } if($alcohol_void) { $alcohol_pass_image = "void.png"; } else { $alcohol_pass_image = empty($alcohol_purchased) ? "pass.png" : "fail.png"; } // Bar Receipt $receipt_path_pattern = $test->getDirectory() . "/bar_receipt.*"; $receipt_config = null; foreach(glob($receipt_path_pattern) as $receipt_path) { $receipt_config = PdfHelper::getImageConfig($receipt_path); $mpdf->imageVars["bar_receipt"] = $receipt_config["contents"]; } // Test counts $test_count = count($location->getCompletedTests()); $current_test_count = count($location->getCompletedTests(["dts_start" => $year_cycle_constraint])); $render_field_value = static function($field, $value): void { ?>
:
pass && !$gaming_void) { ?>

Gaming Machine Test Result

Gaming Machine Test Result

Alcohol Test Result


getDisplayAddress()); ?>
Tests (All-Time)
Tests (Cur. Year)
()

Tester

Gender:
getGenderText())?>
Attire:
attire)?>

House Information

brand); $render_field_value("OM", $location->operations_manager_name); $render_field_value("BDM", $location->area_manager); $render_field_value("SGEM", $location->senior_gaming_manager_name); $render_field_value("GEM", $location->gaming_manager_name); $render_field_value("Density", $location->machine_count); ?>

Gaming Machine Test Details

Date & Time
Date:
Entry:
Exit:
Duration:

ID Request
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:
getPassText())?>
ID Stage:
challenge_stage . " - " . $test->getChallengeStageText())?>
Eye Contact:
challenger_eye_contact ? "Yes" : "No")?>
Description:
challenge_description)?>

Staff
Name:
challenger_name)?>
Description:
challenger_description)?>

Alcohol Test Details

Bar Details
Arrival:
Result:
Asked For ID:
Alcohol Purchased:
Drink Purchased:
Bar Spend:
£

Staff
Name:
Description:


Play Details
Machine Played:
Machine Position:
Jackpot Value:
Stake Played:
Minutes Played:
Amount Spent:

ID Stage Reference

1: Challenge on entry
2: Challenge while browsing
3: Challenge during play
4: Challenge after play
5: No challenge
Receipt
" height="" alt="" />

Other Test Details

Door Security Staff
Present:
Asked For ID:
Line of Sight of Bar:

Additional Notes
additional_notes)?>