@if ($customerEmailTemplates->count() > 0)
|
|
|
{{ $customerEmailTemplate->name }}
{!! $customerEmailTemplate->customer ? '' . $customerEmailTemplate->customer->displayName() : '' !!}
{!! $customerEmailTemplate->customer ? '' . $customerEmailTemplate->customer->displayName() : '' !!}
{{ trans('messages.updated_at') }}: {{ Auth::user()->customer->formatDateTime($customerEmailTemplate->created_at, 'datetime_full') }}
|
@if (Auth::user()->customer->can('update', $customerEmailTemplate))
@if ($customerEmailTemplate->template->categories()->count())
{{ $customerEmailTemplate->template->categories->map(function ($cat) {
return $cat->name;
})->join(', ') }}
@else
{{ trans('messages.template.category.no_category_set') }}
@endif
@if ($customerEmailTemplate->template->categories()->count())
{{ trans('messages.template.category') }} @endif @else {{ $customerEmailTemplate->categories()->count() ? $customerEmailTemplate->categories->map(function ($cat) { return $cat->name; })->join(', ') : 'N/A' }} @endif |
@if (Auth::user()->customer->can('update', $customerEmailTemplate))
{{ trans('messages.template.pro_builder') }}
@endif
@if (Auth::user()->customer->can('preview', $customerEmailTemplate) ||
Auth::user()->customer->can('copy', $customerEmailTemplate) ||
Auth::user()->customer->can('delete', $customerEmailTemplate) ||
Auth::user()->customer->can('update', $customerEmailTemplate))
|