aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/ReportTrip.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-15 21:59:56 +1300
committerGitHub <noreply@github.com>2018-10-15 21:59:56 +1300
commite43322abed86fc73da470eafe553f87d5e5aa093 (patch)
tree31f452920bbea96c388b5f8b3feea49eb10c3c9d /web/app/model/ReportTrip.js
parent2273341a2d22ac86dbc2c23481c06fe7d2c91a0f (diff)
parentca151426b29a262f7917682a7b6c54967546dabd (diff)
downloadtrackermap-web-e43322abed86fc73da470eafe553f87d5e5aa093.tar.gz
trackermap-web-e43322abed86fc73da470eafe553f87d5e5aa093.tar.bz2
trackermap-web-e43322abed86fc73da470eafe553f87d5e5aa093.zip
Merge pull request #706 from ckrey/OdometerInReports40a
Odometer in reports40a
Diffstat (limited to 'web/app/model/ReportTrip.js')
-rw-r--r--web/app/model/ReportTrip.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/model/ReportTrip.js b/web/app/model/ReportTrip.js
index 9004b86d..9d45fc87 100644
--- a/web/app/model/ReportTrip.js
+++ b/web/app/model/ReportTrip.js
@@ -39,6 +39,14 @@ Ext.define('Traccar.model.ReportTrip', {
type: 'float',
convert: Traccar.AttributeFormatter.getConverter('distance')
}, {
+ name: 'startOdometer',
+ type: 'float',
+ convert: Traccar.AttributeFormatter.getConverter('distance')
+ }, {
+ name: 'endOdometer',
+ type: 'float',
+ convert: Traccar.AttributeFormatter.getConverter('distance')
+ }, {
name: 'duration',
type: 'int'
}, {