diff options
author | Christoph Krey <krey.christoph@gmail.com> | 2018-04-14 18:48:41 +0200 |
---|---|---|
committer | Christoph Krey <krey.christoph@gmail.com> | 2018-04-14 18:48:41 +0200 |
commit | 6422cbef5728dd18dfe22f1cc02e72e7ae0a8f60 (patch) | |
tree | 4b3c0a1d85cef92dbb1d2f971cb1d8d9c9770b8f /web/app/view | |
parent | 0e61ed83b59d9aaed9d61905a6a35f3a107fc9ca (diff) | |
download | etbsa-traccar-web-6422cbef5728dd18dfe22f1cc02e72e7ae0a8f60.tar.gz etbsa-traccar-web-6422cbef5728dd18dfe22f1cc02e72e7ae0a8f60.tar.bz2 etbsa-traccar-web-6422cbef5728dd18dfe22f1cc02e72e7ae0a8f60.zip |
[NEW] Feature Request: Add Odometer to Summary, Trips, and Stops Reports #652
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/ReportController.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index 42e099d..9ec75ce 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -521,6 +521,14 @@ Ext.define('Traccar.view.ReportController', { dataIndex: 'distance', renderer: Traccar.AttributeFormatter.getFormatter('distance') }, { + text: Strings.reportStartOdometer, + dataIndex: 'startOdometer', + renderer: Traccar.AttributeFormatter.getFormatter('distance'), + }, { + text: Strings.reportEndOdometer, + dataIndex: 'endOdometer', + renderer: Traccar.AttributeFormatter.getFormatter('distance'), + }, { text: Strings.reportAverageSpeed, dataIndex: 'averageSpeed', renderer: Traccar.AttributeFormatter.getFormatter('speed') @@ -548,6 +556,10 @@ Ext.define('Traccar.view.ReportController', { xtype: 'datecolumn', renderer: Traccar.AttributeFormatter.getFormatter('startTime') }, { + text: Strings.reportStartOdometer, + dataIndex: 'startOdometer', + renderer: Traccar.AttributeFormatter.getFormatter('distance'), + }, { text: Strings.reportStartAddress, dataIndex: 'startAddress', renderer: Traccar.AttributeFormatter.getFormatter('address') @@ -557,6 +569,10 @@ Ext.define('Traccar.view.ReportController', { xtype: 'datecolumn', renderer: Traccar.AttributeFormatter.getFormatter('endTime') }, { + text: Strings.reportEndOdometer, + dataIndex: 'endOdometer', + renderer: Traccar.AttributeFormatter.getFormatter('distance'), + }, { text: Strings.reportEndAddress, dataIndex: 'endAddress', renderer: Traccar.AttributeFormatter.getFormatter('address') @@ -596,6 +612,10 @@ Ext.define('Traccar.view.ReportController', { xtype: 'datecolumn', renderer: Traccar.AttributeFormatter.getFormatter('startTime') }, { + text: Strings.reportStartOdometer, + dataIndex: 'startOdometer', + renderer: Traccar.AttributeFormatter.getFormatter('distance'), + }, { text: Strings.positionAddress, dataIndex: 'address', renderer: Traccar.AttributeFormatter.getFormatter('address') |