Bug fix for reports

This commit is contained in:
Hillel Coren 2016-10-13 12:46:46 +03:00
parent 7f4ac4f59e
commit 9edd65e7e2

View File

@ -53,7 +53,7 @@ class ReportController extends BaseController
{ {
$action = Input::get('action'); $action = Input::get('action');
if (Input::all()) { if (Input::get('report_type')) {
$reportType = Input::get('report_type'); $reportType = Input::get('report_type');
$dateField = Input::get('date_field'); $dateField = Input::get('date_field');
$startDate = Utils::toSqlDate(Input::get('start_date'), false); $startDate = Utils::toSqlDate(Input::get('start_date'), false);