Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2018-08-09 10:45:38 +00:00
committed by StyleCI Bot
parent a26c2cdd7c
commit c5afb8e4d7
4 changed files with 42 additions and 41 deletions

View File

@@ -83,6 +83,7 @@ class FilterController extends Controller
$table = $this->checkRequestIsCorrect($table, (array) $inputs);
}
}
return \Ttable::genreateTableJson($table);
}

View File

@@ -2647,11 +2647,11 @@ class TicketController extends Controller
}
/**
* Ticket table rendering related functions
* Ticket table rendering related functions.
*/
/**
* Function to get basic datatable format
* Function to get basic datatable format.
*
* @return object
*/
@@ -2664,7 +2664,7 @@ class TicketController extends Controller
}
/**
* Function to return new ticket table view
* Function to return new ticket table view.
*
* @return repsone/view
*/
@@ -2677,6 +2677,7 @@ class TicketController extends Controller
/**
* chumper's function to return data to chumper datatable.
*
* @param Array-object $tickets
*
* @return Array-object
@@ -2801,7 +2802,7 @@ class TicketController extends Controller
* Functions under this block have been deprecated and are no
* longer used by the system.Though we have not removed these functions
* in v1.10 but we will remove these routes in upcoming releas
* =====================================================================
* =====================================================================.
**/
/**

View File

@@ -413,7 +413,7 @@ Route::group(['middleware' => ['web']], function () {
});
Route::get('get-filtered-tickets', ['as'=>'get-filtered-tickets', 'uses'=>'Agent\helpdesk\Filter\FilterController@getFilter']);
/**
/*
*=======================================================================
* DEPRECATED ROUTE BLOCKS START
*=======================================================================
@@ -462,7 +462,7 @@ Route::group(['middleware' => ['web']], function () {
Route::get('/{dept}/assigned', ['as' => 'dept.inprogress.ticket', 'uses' => 'Agent\helpdesk\TicketController@deptinprogress']); // Inprogress
Route::get('/{dept}/closed', ['as' => 'dept.closed.ticket', 'uses' => 'Agent\helpdesk\TicketController@deptclose']); // Closed
/**
/*
* Followup tickets
*/
Route::get('/ticket/followup', ['as' => 'followup.ticket', 'uses' => 'Agent\helpdesk\TicketController@followupTicketList']); // Get Closed Ticket /
@@ -471,14 +471,13 @@ Route::group(['middleware' => ['web']], function () {
Route::get('/ticket/close/get-approval/{id}', ['as' => 'get.close.approval.ticket', 'uses' => 'Agent\helpdesk\TicketController@getCloseapproval']); // Get tickets in datatable /
Route::get('filter', ['as'=>'filter', 'uses'=>'Agent\helpdesk\Filter\FilterControllerOld@getFilter']);
/**
/*
*=======================================================================
* DEPRECATED ROUTE BLOCKS END
*=======================================================================
*/
});
/*
|------------------------------------------------------------------
|Guest Routes