Fixed issue in report

This commit is contained in:
Manish Verma
2018-09-10 16:45:28 +05:30
committed by Manish Verma
parent d4a2529ce7
commit f2f3ad330e

View File

@@ -91,9 +91,9 @@ class ReportController extends Controller
$return = ''; $return = '';
$last = ''; $last = '';
$j = 0; $j = 0;
$created1 = ''; $created1 = 0;
$closed1 = ''; $closed1 = 0;
$reopened1 = ''; $reopened1 = 0;
$in_progress = \DB::table('tickets')->where('help_topic_id', '=', $help_topic)->where('status', '=', 1)->count(); $in_progress = \DB::table('tickets')->where('help_topic_id', '=', $help_topic)->where('status', '=', 1)->count();
for ($i = $date1; $i <= $date2; $i = $i + 86400) { for ($i = $date1; $i <= $date2; $i = $i + 86400) {