after a series of bug fixes plus Non MNO logic for Sender IDs, unfinished leave management and holiday modules

This commit is contained in:
Kwesi Banson Jnr
2025-03-19 10:33:04 +00:00
parent 6cede6d980
commit cf39ff2682
112 changed files with 26812 additions and 496 deletions

View File

@@ -31,11 +31,8 @@ class SendNewNotesEmailAlert implements ShouldQueue
public function handle(Mailer $mailer)
{
$note = $this->note;
$emails = ['samuel@click-mobile.com'];
$emails = ['samuel@click-mobile.com', 'kwesi@click-mobile.com', 'mansa@click-mobile.com'];
//$note_body = $note->notes_body;
$data = [
'client' => $note->client_info->name,
'created_by' => $note->created_by_info->name,
@@ -46,8 +43,9 @@ class SendNewNotesEmailAlert implements ShouldQueue
\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->from('alerts@click-mobile.com', 'Click Mobile ERP');
$message->to($emails)->subject('New Notes');
});
}