aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report
diff options
context:
space:
mode:
authoramilasilva88 <amilasilva88@gmail.com>2015-08-14 11:46:27 +0800
committeramilasilva88 <amilasilva88@gmail.com>2015-08-14 11:46:27 +0800
commita70f478740514e6e60ffbe49906a9c6150b2ec99 (patch)
tree23e06e979f88ca33609da50b41b2648fbe62469d /web/app/view/report
parent077b5a737cf735002e9bf74859c915444452f835 (diff)
downloadtrackermap-server-a70f478740514e6e60ffbe49906a9c6150b2ec99.tar.gz
trackermap-server-a70f478740514e6e60ffbe49906a9c6150b2ec99.tar.bz2
trackermap-server-a70f478740514e6e60ffbe49906a9c6150b2ec99.zip
Refactoring - tabs to spaces and naming conventions
Diffstat (limited to 'web/app/view/report')
-rw-r--r--web/app/view/report/Report.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js
index 6c43b9463..5466c7887 100644
--- a/web/app/view/report/Report.js
+++ b/web/app/view/report/Report.js
@@ -91,8 +91,8 @@ Ext.define('Traccar.view.report.Report', {
}
},
/* { text: strings.positionCourse, dataIndex: 'course', flex: 1 }, */
- { text: 'Odometer', dataIndex: 'odoMeter', flex: 1,
- renderer: function(value) {
+ { text: 'Odometer', dataIndex: 'odometer', flex: 1,
+ renderer: function(value) {
var distanceUnits = Ext.getStore('DistanceUnits');
var unit = Traccar.getApplication().getUser().get('distanceUnit') || Traccar.getApplication().getServer().get('distanceUnit') || '';
return distanceUnits.convert(value, unit) + ' ' + distanceUnits.getUnitName(unit);