@extends('admin.layouts.master') @section('title', __('Manage Email Template')) @section('content')

{{ __('Email Templates') }}

{{ __('Manage your email template that send to customers.') }}

@if(filled($templates))
{{ __('Email Template') }}
{{ __('Group') }}
{{ __('Recipient(s)') }}
{{ __('Notify') }}
 
@foreach($templates as $template)
{{ ucwords(str_replace(['_', '-'], ' ', data_get($template, 'group'))) }}
ADMIN) @if( !blank(data_get($template, 'addresses.recipient')) && (data_get($template, 'addresses.recipient')=='alternet'||data_get($template, 'addresses.recipient')=='custom') ) data-toggle="tooltip" title="{{ __('Send to :recipient email', ['recipient' => data_get($template, 'addresses.recipient') ]) }}" @else data-toggle="tooltip" title="{{ __('Send to default email') }}" @endif @endif >{{ ucfirst(data_get($template, 'recipient')) }} @if( data_get($template, 'recipient')== $iRecipient->ADMIN && !blank(data_get($template, 'addresses.emails')) ) @endif @if( data_get($template, 'recipient')== $iRecipient->ADMIN && data_get($template, 'addresses.recipient')=='custom' && blank(data_get($template, 'addresses.custom')) ) @endif
{{ data_get($template, 'status') == $iStatus->ACTIVE ? __('Yes') : __('No')}}
@endforeach
@if(filled($templates) && $templates->hasPages())
{{ $templates->appends(request()->all())->links('misc.pagination') }}
@endif
@else

{{ __('No Email Templates Found') }}

@endif
@endsection @push('scripts') @endpush