@php $admin_email_templates = getEcommerceEmailTemplates(); $html_array = []; @endphp @extends('core::base.layouts.master') @section('title') {{ translate('Email Templates') }} @endsection @section('custom_css') @endsection @section('main_content')
@foreach ($admin_email_templates as $key => $templates) @php $template_name = implode(' ', explode('_', $key)); @endphp

{{ $template_name }}

@php $count = 0; @endphp @foreach ($templates as $template) @php $text = htmlentities($template['body'], ENT_QUOTES); $text = $text; $html_array[$key . '_' . $count] = $text; @endphp @php $count = $count + 1; @endphp @endforeach
{{ translate('No.') }} {{ translate('Template') }} {{ translate('Details') }} {{ translate('Actions') }}
{{ $count + 1 }} {{ $template['name'] }} {{ $template['details'] }}
@endforeach
@endsection @section('custom_scripts') @endsection