Applied fixes from StyleCI

This commit is contained in:
Bhanu
2016-06-13 11:30:41 -04:00
committed by StyleCI Bot
parent 4c25919b65
commit 1b77330dde
38 changed files with 1302 additions and 1185 deletions

View File

@@ -143,7 +143,7 @@ class DepartmentController extends Controller
public function edit($id, User $user, Group_assign_department $group_assign_department, Template $template, Teams $team, Department $department, Sla_plan $sla, Emails $email, Groups $group)
{
try {
$sys_department = \DB::table('settings_system')
$sys_department = \DB::table('settings_system')
->select('department')
->where('id', '=', 1)
->first();
@@ -175,7 +175,6 @@ class DepartmentController extends Controller
{
// dd($id);
try {
$table = $group_assign_department->where('department_id', $id);
$table->delete();
$requests = $request->input('group_id');