@if(isset($activity->event_id))
Event: {{ $activity->event_name }}
Meeting Type: {{ $activity->meeting_type }}
Status: {{ $activity->status }}
@elseif(isset($activity->content_id))
Client: {{ $activity->client_name }}
Client Address: {{ $activity->client_address }}
Content Status: {{ $activity->content_status }}
Graphic Status: {{ $activity->graphic_status }}
@else
Project: {{ $activity->project_name }}
Domain: {{ $activity->domain }}
Project Status: {{ $activity->project_status }}
Project Phase: {{ $activity->project_phase }}
@endif
Employees:
@if (!empty($activity->employee_info))
@foreach (explode(',', $activity->employee_info) as $employeeInfo)
@php
// Remove the number using regular expressions
$employeeName = preg_replace('/^\d+\s*-\s*/', '', $employeeInfo);
@endphp
- {{ $employeeName }}
@endforeach
@else
- No employees assigned
@endif
@if(isset($activity->link))
Link: {{ $activity->link }}
@endif
@if(isset($activity->location))
Location: {{ $activity->location }}
@endif
@if(isset($activity->travel_time))
Travel Time: {{ $activity->travel_time }}
@endif
@if(isset($activity->description))
Description: {{ $activity->description }}
@endif
@if(isset($activity->formatted_start_time))
Start date: {{ $activity->formatted_start_time }}
End date: {{ $activity->formatted_end_time }}
@endif