@if(!empty($getLongTermProjectSubActivity))

Long Term Project Sub Task Comment Update

@else

Long Term Project Comment Update

@endif

Project progress notification

Dear Stakeholder,

@if(!empty($getLongTermProjectSubActivity))

Kindly be informed that a new sub task comment has been added to the Long Term Project {{ $getLongTermProject->title ?? 'N/A' }} Sub Task: {{ $getLongTermProjectSubActivity->sub_activity_name ?? 'N/A' }} by {{ trim(($changed_by->name ?? 'System') . ' ' . ($changed_by->last_name ?? '')) }} on {{ date('Y-m-d h:i:s A') }}. {{--

Comment: {{ $comment }}

--}} @else

Kindly be informed that a new comment has been added to the Long Term Project {{ $getLongTermProject->title ?? 'N/A' }} by {{ trim(($changed_by->name ?? 'System') . ' ' . ($changed_by->last_name ?? '')) }} on {{ date('Y-m-d h:i:s A') }}. {{--

Comment: {{ $comment }}

--}} @endif Please log in to the system to review the comment and take any necessary action.

📋 Project Summary

Project ID : #{{ str_pad($getLongTermProject->id ?? 'N/A', 4, '0', STR_PAD_LEFT) }}
Project Name : {{ $getLongTermProject->title ?? 'N/A' }}
Budget : LKR. {{ number_format($getLongTermProject->budget ?? 0, 2) }}
{{--
Task Name : {{ $sub_activity->sub_activity_name ?? 'N/A' }}
--}} @if(!empty($getLongTermProjectSubActivity))
Start Date : {{ \Carbon\Carbon::parse($getLongTermProjectSubActivity->start_date ?? now())->format('d M Y') }}
End Date : {{ \Carbon\Carbon::parse($getLongTermProjectSubActivity->end_date ?? now())->format('d M Y') }}
@endif @if(isset($getLongTermProject->state))
Status : @if($getLongTermProject->state == 'COMPLETED') ✅ Completed @elseif($getLongTermProject->state == 'IN_PROGRESS') ⏳ In Progress @else ⏱ Pending @endif
@endif
@if(!empty($comment))
Comment from {{ $changed_by->name ?? 'System' }}:

{{ $comment }}

@endif @if(!empty($comment_files))
📎 Attached File(s): @foreach($comment_files as $file)

📄 {{ $file['name'] }}

@endforeach
@endif @if(isset($documents) && $documents->count() > 0)
📎 Attachments @foreach($documents as $document) {{ $document->file_name }} @endforeach
@endif
🔗 View Project Details