{{ __('Email Templates') }}
{{ __('Manage your email template that send to customers.') }}
            @if(filled($templates))
                
                    
                        
                             
                        
                        @foreach($templates as $template)
                            
                                
                                
                        @endforeach
                    
                    @if(filled($templates) && $templates->hasPages())
                    
            @else
                
                    
                        
                            
                    
                
            @endif
        
    {{ __('Email Template') }}
                            {{ __('Group') }}
                            {{ __('Recipient(s)') }}
                            {{ __('Notify') }}
                            
                                    {{ 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')}}
                                
                                
                            
                        {{ $templates->appends(request()->all())->links('misc.pagination') }}
                    
                    @endif
                {{ __('No Email Templates Found') }}