bug fix patch

# update dummy database
# update update sql dump
# added ticket link in ticekt assignent template
This commit is contained in:
Manish Verma
2016-12-01 12:53:58 +05:30
parent f29c98bf50
commit 4be39392e7
8 changed files with 11 additions and 19 deletions

View File

@@ -266,7 +266,7 @@
//$inbox = App\Model\helpdesk\Ticket\Tickets::where('dept_id','',Auth::user()->primary_dpt)->get();
$myticket = App\Model\helpdesk\Ticket\Tickets::where('assigned_to', Auth::user()->id)->where('status', '1')->get();
$unassigned = App\Model\helpdesk\Ticket\Tickets::where('assigned_to', '=', null)->where('status', '=', '1')->where('dept_id', '=', Auth::user()->primary_dpt)->get();
$tickets = App\Model\helpdesk\Ticket\Tickets::whereIn('status', array(1, 7))->where('dept_id', '=', Auth::user()->primary_dpt)->get();
$tickets = App\Model\helpdesk\Ticket\Tickets::whereIn('status', array(1, 7))->where('dept_id', '=', Auth::user()->primary_dpt)->orWhere('assigned_to', '=', Auth::user()->id)->get();
$closingapproval = App\Model\helpdesk\Ticket\Tickets::where('status', '7')->get();