Merge pull request #655 from ladybirdweb/analysis-qyjP0o

Apply fixes from StyleCI
This commit is contained in:
Bhanu
2018-08-10 16:13:31 +05:30
committed by GitHub
2 changed files with 12 additions and 11 deletions

View File

@@ -989,6 +989,7 @@ class ApiController extends Controller
->distinct()
->paginate(10)
->toArray();
return response($inbox);
} catch (\Exception $ex) {
$error = $ex->getMessage();

View File

@@ -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
*/