aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/ReportSummary.js
diff options
context:
space:
mode:
authorChristoph Krey <c@ckrey.de>2018-08-06 18:06:16 +0200
committerGitHub <noreply@github.com>2018-08-06 18:06:16 +0200
commit4b9726dd8dd083060810d9472fa8d2187e6c9a0f (patch)
tree2cd712b68fdb2d409ab64ca5df580fd5a2cf078d /web/app/model/ReportSummary.js
parent5a41451ab3558f0ffd43f44a65d34b9590331c5d (diff)
parent5defdfeb901434458dbcbc4ca7eb0c164a6f71c0 (diff)
downloadtrackermap-web-4b9726dd8dd083060810d9472fa8d2187e6c9a0f.tar.gz
trackermap-web-4b9726dd8dd083060810d9472fa8d2187e6c9a0f.tar.bz2
trackermap-web-4b9726dd8dd083060810d9472fa8d2187e6c9a0f.zip
Merge pull request #4 from ckrey/OdometerInReports316
Odometer in reports316
Diffstat (limited to 'web/app/model/ReportSummary.js')
-rw-r--r--web/app/model/ReportSummary.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/model/ReportSummary.js b/web/app/model/ReportSummary.js
index 4bc78731..dcc0365c 100644
--- a/web/app/model/ReportSummary.js
+++ b/web/app/model/ReportSummary.js
@@ -39,6 +39,14 @@ Ext.define('Traccar.model.ReportSummary', {
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: 'engineHours',
type: 'int'
}, {