aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/ReportConfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/ReportConfig.js')
-rw-r--r--web/app/view/dialog/ReportConfig.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/app/view/dialog/ReportConfig.js b/web/app/view/dialog/ReportConfig.js
index 836b605..cdf11e1 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: [{