Browse Source

Add "Brand" to location CSV export

Alan Lam 1 năm trước cách đây
mục cha
commit
9b63b66572
1 tập tin đã thay đổi với 2 bổ sung và 1 xóa
  1. 2 1
      engine/exports/location_csv_export.php

+ 2 - 1
engine/exports/location_csv_export.php

@@ -18,7 +18,7 @@ class LocationCsvExport {
 		$handle = fopen("php://output", "wb");
 
 		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) {
@@ -27,6 +27,7 @@ class LocationCsvExport {
 				$location->internal_id,
 				$location->city,
 				$location->legal_entity_name,
+				$location->brand,
 				$location->region,
 				$location->area_manager,
 				$location->area_manager_email,