fleetmap-reports 1.0.322 → 1.0.323

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "1.0.322",
3
+ "version": "1.0.323",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/kms-report.js CHANGED
@@ -411,6 +411,8 @@ function exportKmsReportToExcel(userData, reportData) {
411
411
  }
412
412
  })
413
413
 
414
+ data.concat({licenseplate: 'Total', distance: data.reduce((prev, curr) => prev + curr.distance)})
415
+
414
416
  return {
415
417
  headers,
416
418
  data,