This commit is contained in:
Manish Verma
2016-12-13 18:18:25 +05:30
parent fc98add11c
commit 2d8e640e9b
2314 changed files with 97798 additions and 75664 deletions

View File

@@ -87,8 +87,7 @@ class HelptopicController extends Controller
$forms = $form->get();
$agents = $agent->where('role', '=', 'agent')->get();
$slas = $sla->get();
$priority = Ticket_Priority::where('status', '=', 1)->get();
$priority = Ticket_Priority::where('status','=',1)->get();
return view('themes.default1.admin.helpdesk.manage.helptopic.create', compact('priority', 'departments', 'topics', 'forms', 'agents', 'slas'));
} catch (Exception $e) {
return redirect()->back()->with('fails', $e->getMessage());
@@ -148,7 +147,7 @@ class HelptopicController extends Controller
$topics = $topic->whereId($id)->first();
$forms = $form->get();
$slas = $sla->get();
$priority = Ticket_Priority::where('status', '=', 1)->get();
$priority = Ticket_Priority::where('status','=',1)->get();
$sys_help_topic = \DB::table('settings_ticket')
->select('help_topic')
->where('id', '=', 1)->first();