From 45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 6 Oct 2017 12:53:13 +0500 Subject: Hide date selectors for predefined periods --- web/app/store/ReportPeriods.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'web/app/store') 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 }, { @@ -29,8 +32,14 @@ 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 }] }); -- cgit v1.2.3