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()
|
->distinct()
|
||||||
->paginate(10)
|
->paginate(10)
|
||||||
->toArray();
|
->toArray();
|
||||||
|
|
||||||
return response($inbox);
|
return response($inbox);
|
||||||
} catch (\Exception $ex) {
|
} catch (\Exception $ex) {
|
||||||
$error = $ex->getMessage();
|
$error = $ex->getMessage();
|
||||||
|
@@ -50,16 +50,16 @@ class AgentLayout
|
|||||||
{
|
{
|
||||||
$notifications = \App\Http\Controllers\Common\NotificationController::getNotifications();
|
$notifications = \App\Http\Controllers\Common\NotificationController::getNotifications();
|
||||||
$view->with([
|
$view->with([
|
||||||
'company' => $this->company,
|
'company' => $this->company,
|
||||||
'notifications' => $notifications,
|
'notifications' => $notifications,
|
||||||
'myticket' => $this->myTicket(),
|
'myticket' => $this->myTicket(),
|
||||||
'unassigned' => $this->unassigned(),
|
'unassigned' => $this->unassigned(),
|
||||||
'followup_ticket' => $this->followupTicket(),
|
'followup_ticket' => $this->followupTicket(),
|
||||||
'deleted' => $this->deleted(),
|
'deleted' => $this->deleted(),
|
||||||
'tickets' => $this->inbox(),
|
'tickets' => $this->inbox(),
|
||||||
'department' => $this->departments(),
|
'department' => $this->departments(),
|
||||||
'overdues' => $this->overdues(),
|
'overdues' => $this->overdues(),
|
||||||
'due_today' => $this->getDueToday(),
|
'due_today' => $this->getDueToday(),
|
||||||
'is_mail_conigured' => $this->getEmailConfig(),
|
'is_mail_conigured' => $this->getEmailConfig(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@@ -201,7 +201,7 @@ class AgentLayout
|
|||||||
/**
|
/**
|
||||||
* @category function to check configured mails
|
* @category function to check configured mails
|
||||||
*
|
*
|
||||||
* @var $emails
|
* @var
|
||||||
*
|
*
|
||||||
* @return bool true/false
|
* @return bool true/false
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user