bug-fix-patch
# not sending diagnostic mail while configuring system mail # correct due today ticket count in agent panel # iframe height in client panel ticket pages # Removed place holder in client profile edit # reload page while after edit/assign/surrender tickets
This commit is contained in:
@@ -83,7 +83,7 @@ class="active"
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if (Auth::user()->role == 'admin' || Auth::user()->role == 'agent') {
|
||||
if (Auth::user()->role == 'admin') {
|
||||
$todaytickets = count(App\Model\helpdesk\Ticket\Tickets::where('status', '=', 1)->whereRaw('date(duedate) = ?', [date('Y-m-d')])->get());
|
||||
} else {
|
||||
$dept = App\Model\helpdesk\Agent\Department::where('id', '=', Auth::user()->primary_dpt)->first();
|
||||
|
||||
Reference in New Issue
Block a user