@include('emails.client_contact.common-finance.header', ['franchise' => $franchise]) @component('emails.common.table') @component('emails.common.td') @component('emails.common.p') Hello {{ $assignee->user->first_name ?? '' }}, @endcomponent @component('emails.common.p') {{ $assignee->assignee->full_name ?? '' }} has delegated a task to you. @endcomponent @component('emails.common.table', ['fullWidth' => true]) Delegation Level: {{ $delegationLevel ?? '' }} Project: {{ $assignee->task->project->name ?? '' }} Task Name: {{ $assignee->task->title ?? '' }} Deadline: {{ date(config('custom.formats.mail_date_time'), strtotime($assignee->end_date_time)) }} @if($comment) Comment: @if(strlen(strip_tags($comment->manual_comment_formatted)) >= 50) They said “{!! substr(strip_tags($comment->manual_comment_formatted), 0, 50) !!}...”. @else They said “{!! substr(strip_tags($comment->manual_comment_formatted), 0, 50) !!}”. @endif @endif @endcomponent @component('emails.common.p') Click here to view task details. @endcomponent @component('emails.common.slogan') @endcomponent @endcomponent @component('emails.common.td') @component('emails.common.p') @if($franchise) {{ $franchise->company_name }}@endif Project @endcomponent @endcomponent @endcomponent @include('emails.client_contact.common-finance.footer', ['franchise' => $franchise])