fleetmap-reports 1.0.592 → 1.0.593
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 +1 -1
- package/package.json +1 -1
- package/src/speeding-report.js +2 -5
- package/src/util/utils.js +0 -5
package/lang/frFR.js
CHANGED
|
@@ -161,7 +161,7 @@ module.exports = {
|
|
|
161
161
|
select_geofences_placeholder: 'Geofences',
|
|
162
162
|
select_period: 'Select period',
|
|
163
163
|
period: 'Period',
|
|
164
|
-
titleTripReport: '
|
|
164
|
+
titleTripReport: 'Rapport de voyage',
|
|
165
165
|
titleLocationReport: 'Rapport de localisation',
|
|
166
166
|
titleSpeedingReport: 'Rapport de survitesse',
|
|
167
167
|
titleZoneReport: 'Rapport de zones',
|
package/package.json
CHANGED
package/src/speeding-report.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
const jsPDF = require('jspdf')
|
|
2
|
-
const {
|
|
3
|
-
convertMS, convertToLocaleString, convertToFeature, convertPositionToFeature, getTranslations, getLanguage,
|
|
4
|
-
checkGeocoding
|
|
5
|
-
} = require('./util/utils')
|
|
2
|
+
const { convertMS, convertToLocaleString, convertToFeature, convertPositionToFeature, getTranslations, getLanguage } = require('./util/utils')
|
|
6
3
|
const { headerFromUser, AmiriRegular } = require('./util/pdfDocument')
|
|
7
4
|
require('jspdf-autotable')
|
|
8
5
|
const { getStyle } = require('./reportStyle')
|
|
@@ -100,7 +97,7 @@ async function createSpeedingReportByDevice (from, to, userData, traccarInstance
|
|
|
100
97
|
}
|
|
101
98
|
}))
|
|
102
99
|
}
|
|
103
|
-
|
|
100
|
+
|
|
104
101
|
return allData
|
|
105
102
|
}
|
|
106
103
|
|
package/src/util/utils.js
CHANGED