Update
This commit is contained in:
@@ -977,8 +977,9 @@ class ClaimController extends Controller
|
||||
public function sendNotif($description)
|
||||
{
|
||||
// Insert data notifications
|
||||
$emailTo = 'hospitaladmin@linksehat.com';
|
||||
$dataNotif = [
|
||||
'hospital_id' => 1,
|
||||
'email' => $emailTo,
|
||||
'title' => 'Request Document',
|
||||
'description' => 'Please enter the document '.$description,
|
||||
'type' => 1,
|
||||
@@ -991,12 +992,12 @@ class ClaimController extends Controller
|
||||
// Send Email after insert notifications
|
||||
if($sendNotif)
|
||||
{
|
||||
//Beluma ada Data Users
|
||||
$nameTo = 'Hospital Admin';
|
||||
$dataEmail = [
|
||||
'email' => 'akun.kerja.ivan@gmail.com',
|
||||
'name' => 'Ivan Julian',
|
||||
'email' => $emailTo,
|
||||
'name' => $nameTo,
|
||||
'subject' => 'Enter Document '.$description,
|
||||
'body' => View::make('email/notif_email', ['name' => 'Ivan Julian', 'link' => 'https://linkmedis.com/chat'])->render(),
|
||||
'body' => View::make('email/notif_email', ['name' => $nameTo, 'link' => 'https://hospitalportal.linksehat.com/dashboard'])->render(),
|
||||
];
|
||||
Helper::sendEmail($dataEmail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user