Przeglądaj źródła

Add "Division" to Greene King customer CSV export

Alan Lam 1 rok temu
rodzic
commit
7e268e1a11

+ 2 - 0
template_processing/age_verification_greene_king/project_account_csv.php

@@ -13,6 +13,7 @@ $config = $template->getConfiguration();
 $field_names = [
 	"Internal ID",
 	"Location Name",
+	"Division",
 	"Template Name",
 	"Date",
 	"Test ID",
@@ -36,6 +37,7 @@ foreach($tests as $test) {
 	$output = [];
 	$output[] = $location->internal_id;
 	$output[] = $location->name;
+	$output[] = $location->brand;
 	$output[] = $template->name;
 	$output[] = $test->getDateTimeStart()->format("d/m/Y");
 	$output[] = $test->id;