|
|
@@ -65,7 +65,7 @@ if(!empty($action)) {
|
|
|
$handle = fopen("php://output", "w");
|
|
|
|
|
|
fputcsv($handle, [
|
|
|
- "Internal ID", "City", "Legal Entity", "Region", "Area", "Open", "Close", "Name", "Address", "Postcode", "Email", "Latitude", "Longitude"
|
|
|
+ "Internal ID", "City", "Legal Entity", "Region", "Area Manager", "Area Manager Email", "Open", "Close", "Name", "Address", "Postcode", "Email", "Latitude", "Longitude"
|
|
|
]);
|
|
|
|
|
|
foreach($locations as $location) {
|
|
|
@@ -75,6 +75,7 @@ if(!empty($action)) {
|
|
|
$location->legal_entity_name,
|
|
|
$location->region,
|
|
|
$location->area_manager,
|
|
|
+ $location->area_manager_email,
|
|
|
"",
|
|
|
"",
|
|
|
$location->name,
|