fleetmap-reports 1.0.458 → 1.0.459
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/location-report.js +6 -1
package/package.json
CHANGED
package/src/location-report.js
CHANGED
|
@@ -330,6 +330,9 @@ function exportLocationReportToExcel (userData, reportData) {
|
|
|
330
330
|
headers.push({ label: translations.report.temperature, value: 'temperature' })
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
+
headers.push({ label: 'latitude', value: 'latitude' })
|
|
334
|
+
headers.push({ label: 'longitude', value: 'longitude' })
|
|
335
|
+
|
|
333
336
|
let data = []
|
|
334
337
|
if (positionsData) {
|
|
335
338
|
if (userData.includeDigitalPorts) {
|
|
@@ -349,7 +352,9 @@ function exportLocationReportToExcel (userData, reportData) {
|
|
|
349
352
|
driver: userData.byDriver ? d.driver.name : getDriverName(a, userData.drivers),
|
|
350
353
|
temperature: getTempValue(a),
|
|
351
354
|
digitalport1: getDigitalPortValue(a, 1, translations),
|
|
352
|
-
digitalport2: getDigitalPortValue(a, 2, translations)
|
|
355
|
+
digitalport2: getDigitalPortValue(a, 2, translations),
|
|
356
|
+
latitude: a.latitude,
|
|
357
|
+
longitude: a.longitude
|
|
353
358
|
}
|
|
354
359
|
}))
|
|
355
360
|
})
|