aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/ReportTrip.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-06 13:28:48 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-06 14:59:08 +0500
commit1edfec60e54b26f3cd7970075b58bb69920b37f7 (patch)
treed7ecca927798e16c469868fc609c954fe3d1016c /web/app/model/ReportTrip.js
parentae9de5a7b9cf43ad488022675d243a4b7a863aa4 (diff)
downloadtrackermap-web-1edfec60e54b26f3cd7970075b58bb69920b37f7.tar.gz
trackermap-web-1edfec60e54b26f3cd7970075b58bb69920b37f7.tar.bz2
trackermap-web-1edfec60e54b26f3cd7970075b58bb69920b37f7.zip
Move units to attributes and add volume units
Diffstat (limited to 'web/app/model/ReportTrip.js')
-rw-r--r--web/app/model/ReportTrip.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/model/ReportTrip.js b/web/app/model/ReportTrip.js
index edff02b5..9004b86d 100644
--- a/web/app/model/ReportTrip.js
+++ b/web/app/model/ReportTrip.js
@@ -56,6 +56,10 @@ Ext.define('Traccar.model.ReportTrip', {
name: 'endAddress',
type: 'string'
}, {
+ name: 'spentFuel',
+ type: 'float',
+ convert: Traccar.AttributeFormatter.getConverter('spentFuel')
+ }, {
name: 'driverUniqueId',
type: 'string'
}, {