@if ($customerEmailTemplates->count() > 0) @foreach ($customerEmailTemplates as $key => $customerEmailTemplate) @endforeach
{{ $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))
@endif
@include('elements/_per_page_select', ["items" => $customerEmailTemplates]) @elseif (!empty(request()->keyword))
auto_awesome_mosaic {{ trans('messages.no_search_result') }}
@else
auto_awesome_mosaic {{ trans('messages.template_empty_line_1') }}
@endif