Brand Frontdesk Laravel mail for hosts and report recipients.
Deploy Ladill Frontdesk / deploy (push) Has been cancelled

Pass organization logo/name through ContactMessageMail for daily reports and campaigns, and drop the Ladill product footer.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-12 20:10:26 +00:00
co-authored by Cursor
parent bc53ff206b
commit 1def8cf716
6 changed files with 78 additions and 11 deletions
+4
View File
@@ -5,6 +5,7 @@ namespace App\Jobs;
use App\Models\Activity;
use App\Models\Campaign;
use App\Models\CampaignRecipient;
use App\Models\Organization;
use App\Models\User;
use App\Services\Campaigns\CampaignBillingService;
use App\Services\Campaigns\CampaignMessageService;
@@ -56,6 +57,8 @@ class SendCampaignMessageJob implements ShouldQueue
return;
}
$organization = Organization::query()->where('owner_ref', $campaign->owner_ref)->first();
$sent = $campaign->channel === Campaign::CHANNEL_SMS
? $sms->send((string) $recipient->recipient_phone, $body)
: $email->send(
@@ -64,6 +67,7 @@ class SendCampaignMessageJob implements ShouldQueue
$body,
$this->senderName($campaign),
$this->senderEmail($campaign),
$organization,
);
if (! $sent) {