From 9768c47320f4e5505c2706a09796000b57240a4c Mon Sep 17 00:00:00 2001 From: denisdulici Date: Fri, 14 Dec 2018 15:06:20 +0300 Subject: [PATCH] fixed #630 --- resources/views/common/dashboard/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/common/dashboard/index.blade.php b/resources/views/common/dashboard/index.blade.php index f1508d715..920f67a19 100644 --- a/resources/views/common/dashboard/index.blade.php +++ b/resources/views/common/dashboard/index.blade.php @@ -265,8 +265,8 @@ ranges: { '{{ trans("reports.this_year") }}': [moment().startOf('year'), moment().endOf('year')], '{{ trans("reports.previous_year") }}': [moment().subtract(1, 'year').startOf('year'), moment().subtract(1, 'year').endOf('year')], - '{{ trans("reports.this_quarter") }}': [moment().subtract(2, 'months').startOf('month'), moment().endOf('month')], - '{{ trans("reports.previous_quarter") }}': [moment().subtract(5, 'months').startOf('month'), moment().subtract(3, 'months').endOf('month')], + '{{ trans("reports.this_quarter") }}': [moment().startOf('quarter'), moment().endOf('quarter')], + '{{ trans("reports.previous_quarter") }}': [moment().subtract(1, 'quarter').startOf('quarter'), moment().subtract(1, 'quarter').endOf('quarter')], '{{ trans("reports.last_12_months") }}': [moment().subtract(11, 'months').startOf('month'), moment().endOf('month')] } }, cb);