From 1edfec60e54b26f3cd7970075b58bb69920b37f7 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 6 Sep 2017 13:28:48 +0500 Subject: Move units to attributes and add volume units --- web/app/model/ReportTrip.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/app/model/ReportTrip.js') 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 @@ -55,6 +55,10 @@ Ext.define('Traccar.model.ReportTrip', { }, { name: 'endAddress', type: 'string' + }, { + name: 'spentFuel', + type: 'float', + convert: Traccar.AttributeFormatter.getConverter('spentFuel') }, { name: 'driverUniqueId', type: 'string' -- cgit v1.2.3