diff options
author | Abyss777 <abyss@fox5.ru> | 2017-10-06 12:53:13 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-10-06 12:53:13 +0500 |
commit | 45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 (patch) | |
tree | db5c251dc1e219a936b2e7f255068edb5d43db5a /web/app/store | |
parent | df9b799cbfd51c24158bb16ca5b37105a390a5d3 (diff) | |
download | trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.gz trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.bz2 trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.zip |
Hide date selectors for predefined periods
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/ReportPeriods.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/web/app/store/ReportPeriods.js b/web/app/store/ReportPeriods.js index b9c19f93..542fdce9 100644 --- a/web/app/store/ReportPeriods.js +++ b/web/app/store/ReportPeriods.js @@ -21,6 +21,9 @@ Ext.define('Traccar.store.ReportPeriods', { fields: ['key', 'name'], data: [{ + key: 'custom', + name: Strings.reportCustom + }, { key: 'today', name: Strings.reportToday }, { @@ -30,7 +33,13 @@ Ext.define('Traccar.store.ReportPeriods', { key: 'thisWeek', name: Strings.reportThisWeek }, { + key: 'previousWeek', + name: Strings.reportPreviousWeek + }, { key: 'thisMonth', name: Strings.reportThisMonth + }, { + key: 'previousMonth', + name: Strings.reportPreviousMonth }] }); |