{{ $mailbox->getReplySeparator() }} |
|
|
[{{ $mailbox->name }}]
{{ __('Replying to this notification will email :name', ['name' => ($customer ? $customer->getFirstName(true) : '')]) }} ({{ $conversation->customer_email ?? '' }})
@if ($conversation->getCcArray())
CC: {{ implode(', ', $conversation->getCcArray()) }}
@endif
|
|
|
{{-- START header --}}
|
@if (count($threads) == 1)
{{ __('Received a new conversation') }}
@else
@if ($thread->action_type == App\Thread::ACTION_TYPE_STATUS_CHANGED)
{!! __(":person marked as :status conversation", ['person' => ''.$thread->getCreatedBy()->getFullName(true).'', 'status' => $thread->getStatusName()]) !!}
@elseif ($thread->action_type == App\Thread::ACTION_TYPE_USER_CHANGED)
@include('emails/user/thread_by')
{{ __("assigned to :person conversation", ['person' => $thread->getAssigneeName(false, $user)]) }}
@elseif ($thread->type == App\Thread::TYPE_NOTE)
{!! __(":person added a note to conversation", ['person' => ''.$thread->getCreatedBy()->getFullName(true).'']) !!}
@else
{!! __(":person replied to conversation", ['person' => ''.$thread->getCreatedBy()->getFullName(true).'']) !!}
@endif
@endif
#{{ $conversation->number }}
|
@if ($is_rtl)
{{-- RTL Order: Subject on the right, Status on the left --}}
| {{ strtoupper($conversation->getStatusName()) }} |
@if ($conversation->user_id && $conversation->user)
|
{{ __('Assigned to') }} {{ $conversation->user->getFullName() }}
|
@endif
|
{{ $conversation->subject }}
|
|
@else
{{-- LTR Order: Status on the left, Subject on the right --}}
{{ $conversation->subject ?? '' }}
|
|
| {{ strtoupper($conversation->getStatusName()) }} |
@if ($conversation->user_id && $conversation->user)
|
{{ __('Assigned to') }} {{ $conversation->user->getFullName() }}
|
@endif
|
@endif
|
{{-- END header --}}
@foreach ($threads as $thread)
@if ($thread->type == App\Thread::TYPE_LINEITEM)
{{-- Line item --}}
@if ($is_rtl)
|
{{ App\User::dateFormat($thread->created_at, 'M j, H:i', $user) }}
|
{!! $thread->getActionText('', true, false, $user, htmlspecialchars(view('emails/user/thread_by', ['thread' => $thread, 'user' => $user])->render())) !!}
|
@else
{!! $thread->getActionText('', true, false, $user, htmlspecialchars(view('emails/user/thread_by', ['thread' => $thread, 'user' => $user])->render())) !!}
|
{{ App\User::dateFormat($thread->created_at, 'M j, H:i', $user) }}
|
@endif
|
|
@else
{{-- Reply --}}
@if ($is_rtl)
{{-- RTL Order: User name on the right, Date on the left --}}
|
{{ App\User::dateFormat($thread->created_at, 'M j, H:i', $user) }}
|
@include('emails.user._notification_thread_action', ['thread' => $thread])
|
@else
{{-- LTR Order: Date on the right, User name on the left --}}
@include('emails.user._notification_thread_action', ['thread' => $thread])
|
{{ App\User::dateFormat($thread->created_at, 'M j, H:i', $user) }}
|
@endif
| |
|
@if ($thread->isForward())
@endif
@action('email_notification.before_body', $thread, $user, $conversation)
{!! $thread->body ?? '' !!}
@if ($thread->has_attachments)
| |
|
{{ __('Attached:') }}
@foreach ($thread->attachments as $attachment)
{{ $attachment->file_name ?? '' }} ({{ $attachment->getSizeName() }})@if (!$loop->last), @endif
@endforeach
|
@endif
|
|
|
@endif
@endforeach
|
{{-- footer --}}