Merge pull request #655 from ladybirdweb/analysis-qyjP0o
Apply fixes from StyleCI
This commit is contained in:
@@ -989,6 +989,7 @@ class ApiController extends Controller
|
||||
->distinct()
|
||||
->paginate(10)
|
||||
->toArray();
|
||||
|
||||
return response($inbox);
|
||||
} catch (\Exception $ex) {
|
||||
$error = $ex->getMessage();
|
||||
|
@@ -50,16 +50,16 @@ class AgentLayout
|
||||
{
|
||||
$notifications = \App\Http\Controllers\Common\NotificationController::getNotifications();
|
||||
$view->with([
|
||||
'company' => $this->company,
|
||||
'notifications' => $notifications,
|
||||
'myticket' => $this->myTicket(),
|
||||
'unassigned' => $this->unassigned(),
|
||||
'followup_ticket' => $this->followupTicket(),
|
||||
'deleted' => $this->deleted(),
|
||||
'tickets' => $this->inbox(),
|
||||
'department' => $this->departments(),
|
||||
'overdues' => $this->overdues(),
|
||||
'due_today' => $this->getDueToday(),
|
||||
'company' => $this->company,
|
||||
'notifications' => $notifications,
|
||||
'myticket' => $this->myTicket(),
|
||||
'unassigned' => $this->unassigned(),
|
||||
'followup_ticket' => $this->followupTicket(),
|
||||
'deleted' => $this->deleted(),
|
||||
'tickets' => $this->inbox(),
|
||||
'department' => $this->departments(),
|
||||
'overdues' => $this->overdues(),
|
||||
'due_today' => $this->getDueToday(),
|
||||
'is_mail_conigured' => $this->getEmailConfig(),
|
||||
]);
|
||||
}
|
||||
@@ -201,7 +201,7 @@ class AgentLayout
|
||||
/**
|
||||
* @category function to check configured mails
|
||||
*
|
||||
* @var $emails
|
||||
* @var
|
||||
*
|
||||
* @return bool true/false
|
||||
*/
|
||||
|
Reference in New Issue
Block a user