aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-10-06 12:53:13 +0500
committerAbyss777 <abyss@fox5.ru>2017-10-06 12:53:13 +0500
commit45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 (patch)
treedb5c251dc1e219a936b2e7f255068edb5d43db5a /web/app/store
parentdf9b799cbfd51c24158bb16ca5b37105a390a5d3 (diff)
downloadetbsa-traccar-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.gz
etbsa-traccar-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.bz2
etbsa-traccar-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.zip
Hide date selectors for predefined periods
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/ReportPeriods.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/app/store/ReportPeriods.js b/web/app/store/ReportPeriods.js
index b9c19f9..542fdce 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
}]
});