Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2021-12-17 06:50:43 +00:00
committed by StyleCI Bot
parent d5ffec823e
commit 49360f04d3

View File

@@ -486,9 +486,9 @@ class TicketController extends Controller
public function ticket_print($id)
{
$tickets = Tickets::leftJoin('ticket_thread', function ($join) {
$join->on('tickets.id', '=', 'ticket_thread.ticket_id')
$join->on('tickets.id', '=', 'ticket_thread.ticket_id')
->whereNotNull('ticket_thread.title');
})
})
->leftJoin('department', 'tickets.dept_id', '=', 'department.id')
->leftJoin('help_topic', 'tickets.help_topic_id', '=', 'help_topic.id')
->where('tickets.id', '=', $id)