fleetmap-reports 1.0.591 → 1.0.592

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/lang/frFR.js CHANGED
@@ -4,12 +4,6 @@ module.exports = {
4
4
  dashboard: 'Dashboard',
5
5
  reports: 'Reports',
6
6
  report: 'Report',
7
- report_trip_title: 'Rapport de voyage',
8
- report_location_title: 'Location Report',
9
- report_zone_crossing: 'Zone Report',
10
- report_speeding: 'Relatório de Excessos de Velocidade',
11
- report_speeding_beta: 'Relatório de Excessos de Velocidade BETA',
12
- report_tolls: 'Relatório de Portagens',
13
7
  settings: 'Settings',
14
8
  duration: 'Duration'
15
9
  },
@@ -167,22 +161,18 @@ module.exports = {
167
161
  select_geofences_placeholder: 'Geofences',
168
162
  select_period: 'Select period',
169
163
  period: 'Period',
170
- date_start: 'Start date',
171
- date_end: 'End date',
172
- generate_report: 'Generate report',
173
- validate_period: 'Por favor seleccione o período',
174
- titleTripReport: 'Trip Report',
175
- titleLocationReport: 'Locations Report',
176
- titleSpeedingReport: 'Overspeed Report',
177
- titleZoneReport: 'Zone Report',
178
- titleRefuelReport: 'Refueling Report',
179
- titleFuelConsumptionReport: 'Fuel Consumption Report',
180
- titleFuelDropReport: 'Fuel Drop Report',
181
- titleEventsReport: 'Events Report',
182
- titleActivityReport: 'Activity Report',
183
- titleKmsReport: 'Kms Report',
184
- titleIdleReport: 'Idle Report',
185
- titleMachinesReport: 'Machines Report',
164
+ titleTripReport: 'Reporte de viaje',
165
+ titleLocationReport: 'Rapport de localisation',
166
+ titleSpeedingReport: 'Rapport de survitesse',
167
+ titleZoneReport: 'Rapport de zones',
168
+ titleRefuelReport: 'Rapport de ravitaillement',
169
+ titleFuelConsumptionReport: 'Rapport de consommation de carburant',
170
+ titleFuelDropReport: 'Rapport de chute de carburant',
171
+ titleEventsReport: 'Rapport d\'événements',
172
+ titleActivityReport: 'Rapport d\'activité',
173
+ titleKmsReport: 'Rapport de km',
174
+ titleIdleReport: 'Rapport ralenti',
175
+ titleMachinesReport: 'Rapport sur les machines',
186
176
  headerStartAddress: 'Adresse de départ',
187
177
  headerDistance: 'Distance',
188
178
  headerDrivingTime: 'Driving Time',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "1.0.591",
3
+ "version": "1.0.592",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,5 +1,8 @@
1
1
  const jsPDF = require('jspdf')
2
- const { convertMS, convertToLocaleString, convertToFeature, convertPositionToFeature, getTranslations, getLanguage } = require('./util/utils')
2
+ const {
3
+ convertMS, convertToLocaleString, convertToFeature, convertPositionToFeature, getTranslations, getLanguage,
4
+ checkGeocoding
5
+ } = require('./util/utils')
3
6
  const { headerFromUser, AmiriRegular } = require('./util/pdfDocument')
4
7
  require('jspdf-autotable')
5
8
  const { getStyle } = require('./reportStyle')
@@ -97,7 +100,7 @@ async function createSpeedingReportByDevice (from, to, userData, traccarInstance
97
100
  }
98
101
  }))
99
102
  }
100
-
103
+ checkGeocoding(allData)
101
104
  return allData
102
105
  }
103
106
 
package/src/util/utils.js CHANGED
@@ -227,3 +227,8 @@ exports.getLogo = (user) => {
227
227
  }
228
228
  exports.convertToFeature = convertToFeature
229
229
  exports.convertPositionToFeature = convertPositionToFeature
230
+
231
+ function checkGeocoding () {
232
+ }
233
+
234
+ exports.checkGeocoding = checkGeocoding