fleetmap-reports 2.0.294 → 2.0.295
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/trip-report.js +1 -0
package/package.json
CHANGED
package/src/trip-report.js
CHANGED
|
@@ -173,6 +173,7 @@ async function processDevices (from, to, devices, data, userData, traccar) {
|
|
|
173
173
|
const stops = data.stops.filter(s => s.deviceId === d.id)
|
|
174
174
|
|
|
175
175
|
trips.forEach(trip => {
|
|
176
|
+
trip.model = d.model
|
|
176
177
|
const stop = getStop(new Date(trip.startTime), stops)
|
|
177
178
|
|
|
178
179
|
trip.totalKms = getTripTotalKms(trip, stop, deviceRoute)
|