Fixed overdue counts in dashborad and showing exact overdue ticket list

This commit is contained in:
Manish Verma
2016-12-27 10:57:58 +05:30
parent 52257839d4
commit c6c42dfc31
2 changed files with 3 additions and 16 deletions

View File

@@ -132,7 +132,7 @@ class FilterController extends Controller
$join->on('ticket_status.id', '=', 'tickets.status');
})
->where('tickets.status', '=', 1)
// ->where('tickets.isanswered', '=', 0)
->where('tickets.isanswered', '=', 0)
->whereNotNull('tickets.duedate')
->where('tickets.duedate', '!=', '00-00-00 00:00:00')