|
@@ -18,7 +18,7 @@ class LocationCsvExport {
|
|
|
$handle = fopen("php://output", "wb");
|
|
$handle = fopen("php://output", "wb");
|
|
|
|
|
|
|
|
fputcsv($handle, [
|
|
fputcsv($handle, [
|
|
|
- "ID", "Internal ID", "City", "Legal Entity", "Region", "Area Manager", "Area Manager Email", "Open", "Close", "Name", "Address", "Postcode", "Email", "Latitude", "Longitude", "Archived", "Closed",
|
|
|
|
|
|
|
+ "ID", "Internal ID", "City", "Legal Entity", "Brand", "Region", "Area Manager", "Area Manager Email", "Open", "Close", "Name", "Address", "Postcode", "Email", "Latitude", "Longitude", "Archived", "Closed",
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
foreach($this->locations as $location) {
|
|
foreach($this->locations as $location) {
|
|
@@ -27,6 +27,7 @@ class LocationCsvExport {
|
|
|
$location->internal_id,
|
|
$location->internal_id,
|
|
|
$location->city,
|
|
$location->city,
|
|
|
$location->legal_entity_name,
|
|
$location->legal_entity_name,
|
|
|
|
|
+ $location->brand,
|
|
|
$location->region,
|
|
$location->region,
|
|
|
$location->area_manager,
|
|
$location->area_manager,
|
|
|
$location->area_manager_email,
|
|
$location->area_manager_email,
|