fleetmap-reports 1.0.589 → 1.0.591
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 +5 -5
- package/package.json +1 -1
- package/src/trip-report.js +6 -2
package/lang/frFR.js
CHANGED
|
@@ -4,7 +4,7 @@ module.exports = {
|
|
|
4
4
|
dashboard: 'Dashboard',
|
|
5
5
|
reports: 'Reports',
|
|
6
6
|
report: 'Report',
|
|
7
|
-
report_trip_title: '
|
|
7
|
+
report_trip_title: 'Rapport de voyage',
|
|
8
8
|
report_location_title: 'Location Report',
|
|
9
9
|
report_zone_crossing: 'Zone Report',
|
|
10
10
|
report_speeding: 'Relatório de Excessos de Velocidade',
|
|
@@ -183,7 +183,7 @@ module.exports = {
|
|
|
183
183
|
titleKmsReport: 'Kms Report',
|
|
184
184
|
titleIdleReport: 'Idle Report',
|
|
185
185
|
titleMachinesReport: 'Machines Report',
|
|
186
|
-
headerStartAddress: '
|
|
186
|
+
headerStartAddress: 'Adresse de départ',
|
|
187
187
|
headerDistance: 'Distance',
|
|
188
188
|
headerDrivingTime: 'Driving Time',
|
|
189
189
|
headerMaxSpeed: 'Max Speed',
|
|
@@ -203,7 +203,7 @@ module.exports = {
|
|
|
203
203
|
tripTime: 'Durée',
|
|
204
204
|
idleTime: 'Ralenti',
|
|
205
205
|
stopTime: 'Arrêt',
|
|
206
|
-
distance: 'Distance',
|
|
206
|
+
distance: 'Distance (Km)',
|
|
207
207
|
speed: 'Vitesse',
|
|
208
208
|
roadSpeedLimit: 'Limite de vitesse sur route',
|
|
209
209
|
avgSpeed: 'Vitesse moyenne',
|
|
@@ -219,8 +219,8 @@ module.exports = {
|
|
|
219
219
|
geofence: 'Geofence',
|
|
220
220
|
duration: 'Duration',
|
|
221
221
|
vehicle: 'Véhicule',
|
|
222
|
-
consumption: '
|
|
223
|
-
avg_consumption: 'Cons.
|
|
222
|
+
consumption: 'Cons. (L)',
|
|
223
|
+
avg_consumption: 'Cons. (L/100)',
|
|
224
224
|
odometer: 'Odomètre',
|
|
225
225
|
startOdometer: 'Début (Km)',
|
|
226
226
|
endOdometer: 'Fin (Km)',
|
package/package.json
CHANGED
package/src/trip-report.js
CHANGED
|
@@ -364,8 +364,12 @@ async function exportTripReportToPDF (userData, reportData) {
|
|
|
364
364
|
7: { halign: 'right' },
|
|
365
365
|
8: { halign: 'right' },
|
|
366
366
|
9: { halign: 'right' },
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
...(withFuelData
|
|
368
|
+
? {
|
|
369
|
+
10: { halign: 'right' },
|
|
370
|
+
11: { halign: 'right' }
|
|
371
|
+
}
|
|
372
|
+
: {})
|
|
369
373
|
})
|
|
370
374
|
})
|
|
371
375
|
return doc
|