@php $companyName = getWebConfig(name: 'company_name'); $companyLogo = getWebConfig(name: 'company_web_logo'); $title = $template['title'] ?? null; $body = $template['body'] ?? null; $copyrightText = $template['copyright_text'] ?? null; $footerText = $template['footer_text'] ?? null; $buttonName = $template['button_name'] ?? null; foreach ($template?->translationCurrentLanguage ?? [] as $translate) { $title = $translate->key == 'title' ? $translate->value : $title; $body = $translate->key == 'body' ? $translate->value : $body; $copyrightText = $translate->key == 'copyright_text' ? $translate->value : $copyrightText; $footerText = $translate->key == 'footer_text' ? $translate->value : $footerText; $buttonName = $translate->key == 'button_name' ? $translate->value : $buttonName; } @endphp @extends('layouts.back-end.app') @section('title', translate('email_templates')) @push('css_or_js') @endpush @section('content')
@include('admin-views.business-settings.email-template.partials.page-title') @include('admin-views.business-settings.email-template.partials.'.$template['user_type'].'-mail-inline-menu')
@include('admin-views.business-settings.email-template.partials.update-status')
{{translate('template_UI')}}
@include('admin-views.business-settings.email-template.'.$template['user_type'].'-mail-template'.'.'.$template['template_design_name'])
@include('admin-views.business-settings.email-template.partials.form-field')
@include('admin-views.business-settings.email-template.partials.instructions') @endsection @push('script_2') @endpush