@include('emails.common.header') @component('emails.common.table') @component('emails.common.td') @component('emails.common.p') Hello {{$user->first_name }}, @endcomponent @if(isset($meetings['external']) && count($meetings['external']) > 0) @component('emails.common.p') External Appointments: @endcomponent
@foreach($meetings['external'] as $meeting) @component('emails.common.p') {{ $meeting->externalMembers()->first()->Companies->name }}
Client Contact(s): {{ $meeting->contact_persons_with_position }}
Meeting Title: {{ $meeting->title }}
@if($meeting->notes) Appointment Notes: {{ $meeting->notes }}
@endif Attendees: {{ $meeting->internal_team }}
Department: {{ $meeting->departments }}
Start Time: {{ date('H:i', strtotime($meeting->start_time)) }}
End Time: {{ date('H:i', strtotime($meeting->end_time)) }}
Meeting Type: {{ $meeting->meeting_type }}
Meeting Information: {{ $meeting->location }} @endcomponent @endforeach @endif
@if(isset($meetings['internal']) && count($meetings['internal']) > 0) @component('emails.common.p') Internal Appointments: @endcomponent
@foreach($meetings['internal'] as $meeting) @component('emails.common.p') @if($franchise->name) {{ $franchise->name }}
@endif Meeting Title: {{ $meeting->title }}
Contact (booked by): {{ $meeting->owner->full_name }}
@if($meeting->notes) Appointment Notes: {{ $meeting->notes }}
@endif Attendees: {{ $meeting->internal_team }}
Department: {{ $meeting->departments }}
Start Time: {{ date('H:i', strtotime($meeting->start_time)) }}
End Time: {{ date('H:i', strtotime($meeting->end_time)) }}
Meeting Type: {{ $meeting->meeting_type }}
Meeting Information: {{ $meeting->location }} @endcomponent @endforeach @endif @endcomponent @component('emails.common.td') @component('emails.common.p') Team Empower
{{ config('app.url')}} @endcomponent @endcomponent @endcomponent @include('emails.common.footer')