From e5bdb410ae5a54a54f0e640beda2793d7e2f2fd1 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 5 Nov 2018 16:11:31 +0300 Subject: [PATCH] missing variable --- app/Http/Controllers/Common/Dashboard.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Common/Dashboard.php b/app/Http/Controllers/Common/Dashboard.php index 926f6b1b6..176953682 100644 --- a/app/Http/Controllers/Common/Dashboard.php +++ b/app/Http/Controllers/Common/Dashboard.php @@ -126,6 +126,7 @@ class Dashboard extends Controller $start = Date::parse(request('start', $this->today->startOfYear()->format('Y-m-d'))); $end = Date::parse(request('end', $this->today->endOfYear()->format('Y-m-d'))); $period = request('period', 'month'); + $range = request('range', 'custom'); $start_month = $start->month; $end_month = $end->month;