bug fixes on activity log and array_key_first alt using reset
This commit is contained in:
@@ -30,6 +30,7 @@ class NewMnoNotesEmailAlerts implements ShouldQueue
|
||||
*/
|
||||
public function handle(Mailer $mailer)
|
||||
{
|
||||
|
||||
$note = $this->note;
|
||||
$emails = ['samuel@click-mobile.com'];
|
||||
|
||||
@@ -39,6 +40,7 @@ class NewMnoNotesEmailAlerts implements ShouldQueue
|
||||
'services' => $note->services,
|
||||
'notes_body' => $note->notes_body
|
||||
];
|
||||
\Log::info($note->notes_body);
|
||||
$mailer->send('emails.new-mno-notes', $data, function ($message) use ($data, $emails) {
|
||||
$message->from('support@click-mobile.com', 'Click Mobile ERP');
|
||||
$message->to($emails)->subject('New Notes on Mobile Operators');
|
||||
|
||||
@@ -42,6 +42,10 @@ class SendNewNotesEmailAlert implements ShouldQueue
|
||||
'services' => $note->services,
|
||||
'notes_body' => $note->notes_body
|
||||
];
|
||||
|
||||
\Log::info("New notes for : " . $note->client_info->name);
|
||||
\Log::info("New notes triggered by : " . $note->created_by_info->name);
|
||||
\Log::info($note->notes_body);
|
||||
$mailer->send('emails.new-notes', $data, function ($message) use ($data, $emails) {
|
||||
$message->from('support@click-mobile.com', 'Click Mobile ERP');
|
||||
$message->to($emails)->subject('New Notes');
|
||||
|
||||
Reference in New Issue
Block a user