diff options
author | Abyss777 <abyss@fox5.ru> | 2017-10-06 09:34:00 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-10-06 09:34:00 +0500 |
commit | df9b799cbfd51c24158bb16ca5b37105a390a5d3 (patch) | |
tree | 72a60fd7892bfe89a43763d5af939600166225b4 /web/app/view/dialog/ReportConfig.js | |
parent | eb23cc04e645ee72cdf833b712476f07231ea098 (diff) | |
download | trackermap-web-df9b799cbfd51c24158bb16ca5b37105a390a5d3.tar.gz trackermap-web-df9b799cbfd51c24158bb16ca5b37105a390a5d3.tar.bz2 trackermap-web-df9b799cbfd51c24158bb16ca5b37105a390a5d3.zip |
Add quick period selector to Report Config dialog
Diffstat (limited to 'web/app/view/dialog/ReportConfig.js')
-rw-r--r-- | web/app/view/dialog/ReportConfig.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/app/view/dialog/ReportConfig.js b/web/app/view/dialog/ReportConfig.js index 836b6050..cdf11e1c 100644 --- a/web/app/view/dialog/ReportConfig.js +++ b/web/app/view/dialog/ReportConfig.js @@ -102,6 +102,17 @@ Ext.define('Traccar.view.dialog.ReportConfig', { reference: 'toTimeField', value: new Date() }] + }, { + fieldLabel: Strings.reportPeriod, + xtype: 'combobox', + store: 'ReportPeriods', + editable: false, + valueField: 'key', + displayField: 'name', + queryMode: 'local', + listeners: { + change: 'onPeriodChange' + } }], buttons: [{ |