Răsfoiți Sursa

Merge branch 'develop'

Alan Lam 8 ani în urmă
părinte
comite
66daadcb22
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      controllers/locations.php

+ 2 - 1
controllers/locations.php

@@ -65,7 +65,7 @@ if(!empty($action)) {
 			$handle = fopen("php://output", "w");
 			$handle = fopen("php://output", "w");
 
 
 			fputcsv($handle, [
 			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) {
 			foreach($locations as $location) {
@@ -75,6 +75,7 @@ if(!empty($action)) {
 					$location->legal_entity_name,
 					$location->legal_entity_name,
 					$location->region,
 					$location->region,
 					$location->area_manager,
 					$location->area_manager,
+					$location->area_manager_email,
 					"",
 					"",
 					"",
 					"",
 					$location->name,
 					$location->name,