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.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/app/view/dialog/ReportConfig.js b/web/app/view/dialog/ReportConfig.js
index 836b6050..35cc95b4 100644
--- a/web/app/view/dialog/ReportConfig.js
+++ b/web/app/view/dialog/ReportConfig.js
@@ -73,8 +73,22 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
uncheckedValue: false,
value: false
}, {
+ fieldLabel: Strings.reportPeriod,
+ reference: 'periodField',
+ xtype: 'combobox',
+ store: 'ReportPeriods',
+ editable: false,
+ valueField: 'key',
+ displayField: 'name',
+ queryMode: 'local',
+ listeners: {
+ change: 'onPeriodChange'
+ }
+ }, {
xtype: 'fieldcontainer',
layout: 'vbox',
+ reference: 'fromContainer',
+ hidden: true,
fieldLabel: Strings.reportFrom,
items: [{
xtype: 'datefield',
@@ -90,6 +104,8 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
}, {
xtype: 'fieldcontainer',
layout: 'vbox',
+ reference: 'toContainer',
+ hidden: true,
fieldLabel: Strings.reportTo,
items: [{
xtype: 'datefield',