@php // Get all required data $logoImageUrl = asset('web/doctor/images/logo.png'); $doctorImageUrl = optional($enquiry->doctor)->image_webp ?: optional($enquiry->doctor)->image; if (!empty($doctorImageUrl)) { // Check if it's already a full URL if (!preg_match('/^https?:\/\//i', $doctorImageUrl)) { // Use url() instead of asset() for emails $doctorImageUrl = url($doctorImageUrl); } } else { // Use a default image if no doctor image exists $doctorImageUrl = url('web/doctor/images/doctor-placeholder.png'); } // Get doctor and user data $doctorName = optional($enquiry->doctor)->title . ' ' . optional($enquiry->doctor)->name; $doctorDesignation = optional($enquiry->doctor)->designation; $patientName = optional($authUser)->name; // Get patient concern $patientConcern = optional($enquiry)->message ?? 'No concern mentioned'; @endphp

This secure consultation link is valid for one-time use only. Please do not share it with anyone.

Mighty-health
Mighty-health.

{{ optional($enquiry)->appointment_schedule }}

Click Here To Join

If the button doesn't work, copy and paste this link into your browser:
{{ optional($enquiry)->reply ?? '#' }}

Speakers:

Patient's Concern:

{{ $patientConcern }}

Click Here To Join