Code cleanup.

This commit is contained in:
James Cole
2015-12-28 07:49:27 +01:00
parent 8e827bf83b
commit f81e7da8bb
6 changed files with 3 additions and 16 deletions

View File

@@ -215,7 +215,6 @@ class ReportController extends Controller
// more than one year date difference means year report.
if ($start->diffInMonths($end) > 12) {
// return view('error')->with('message', 'No report yet for this time period.');
return $this->defaultMultiYear($report_type, $start, $end, $accounts);
}
// more than two months date difference means year report.
@@ -224,7 +223,6 @@ class ReportController extends Controller
}
return $this->defaultMonth($report_type, $start, $end, $accounts);
break;
}