Apply fixes from StyleCI
This commit is contained in:
@@ -71,6 +71,7 @@ class NotificationController extends Controller
|
||||
* Admin Notification/Report.
|
||||
*
|
||||
* @param company
|
||||
*
|
||||
* @return mail
|
||||
* */
|
||||
public function send_notification_to_admin($company)
|
||||
@@ -85,13 +86,13 @@ class NotificationController extends Controller
|
||||
$contents = $view->render();
|
||||
$from = $this->PhpMailController->mailfrom('1', '0');
|
||||
$to = [
|
||||
'name' => $user_name,
|
||||
'name' => $user_name,
|
||||
'email' => $email,
|
||||
];
|
||||
$message = [
|
||||
'subject' => 'Daily Report',
|
||||
'subject' => 'Daily Report',
|
||||
'scenario' => null,
|
||||
'body' => $contents,
|
||||
'body' => $contents,
|
||||
];
|
||||
|
||||
return $this->PhpMailController->sendEmail($from, $to, $message);
|
||||
@@ -119,13 +120,13 @@ class NotificationController extends Controller
|
||||
$contents = $view->render();
|
||||
$from = $this->PhpMailController->mailfrom('1', '0');
|
||||
$to = [
|
||||
'name' => $user_name,
|
||||
'name' => $user_name,
|
||||
'email' => $email,
|
||||
];
|
||||
$message = [
|
||||
'subject' => 'Daily Report',
|
||||
'subject' => 'Daily Report',
|
||||
'scenario' => null,
|
||||
'body' => $contents,
|
||||
'body' => $contents,
|
||||
];
|
||||
|
||||
return $this->PhpMailController->sendEmail($from, $to, $message);
|
||||
@@ -155,13 +156,13 @@ class NotificationController extends Controller
|
||||
$contents = $view->render();
|
||||
$from = $this->PhpMailController->mailfrom('1', '0');
|
||||
$to = [
|
||||
'name' => $user_name,
|
||||
'name' => $user_name,
|
||||
'email' => $email,
|
||||
];
|
||||
$message = [
|
||||
'subject' => 'Daily Report',
|
||||
'subject' => 'Daily Report',
|
||||
'scenario' => null,
|
||||
'body' => $contents,
|
||||
'body' => $contents,
|
||||
];
|
||||
|
||||
return $this->PhpMailController->sendEmail($from, $to, $message);
|
||||
@@ -187,13 +188,13 @@ class NotificationController extends Controller
|
||||
$contents = $view->render();
|
||||
$from = $this->PhpMailController->mailfrom('1', '0');
|
||||
$to = [
|
||||
'name' => $user_name,
|
||||
'name' => $user_name,
|
||||
'email' => $email,
|
||||
];
|
||||
$message = [
|
||||
'subject' => 'Daily Report',
|
||||
'subject' => 'Daily Report',
|
||||
'scenario' => null,
|
||||
'body' => $contents,
|
||||
'body' => $contents,
|
||||
];
|
||||
|
||||
return $this->PhpMailController->sendEmail($from, $to, $message);
|
||||
|
Reference in New Issue
Block a user