@extends('layouts.admin') @php $profile=asset(Storage::url('uploads/avatar/')); $chatgpt_setting= App\Models\Utility::chatgpt_setting(\Auth::user()->creatorId()); @endphp @section('page-title') {{__('Manage Users')}} @endsection @section('title') {{ $emailTemplate->name }} @endsection @section('breadcrumb') @endsection @section('action-btn')
{{ Form::model($currEmailTempLang, ['route' => ['updateEmail.settings', $currEmailTempLang->parent_id], 'method' => 'PUT']) }}
@if(isset($chatgpt_setting['chatgpt_key']) && (!empty($chatgpt_setting['chatgpt_key']))) @endif @can('edit email template') @endcan
@endsection @section('content')
{{ __('Placeholders') }}
@if($emailTemplate->name=='User Created')

{{ __('App URL') }} : {app_url}

{{ __('User Name') }} : {user_name}

{{ __('User Email') }} : {user_email}

{{ __('User Password') }} : {user_password}

{{ __('User Type') }} : {user_type}

@elseif($emailTemplate->name=='Appointment Created')

{{ __('App Name') }} : {app_name}

{{ __('Appointment Name') }} : {appointment_name}

{{ __('Appointment Email') }} : {appointment_email}

{{ __('Appointment Phone') }} : {appointment_phone}

{{ __('Appointment Date') }} : {appointment_date}

{{ __('Appointment Time') }} : {appointment_time}

@endif
{{ Form::label('subject', __('Subject'), ['class' => 'col-form-label text-dark']) }} {{ Form::text('subject', null, ['class' => 'form-control font-style', 'required' => 'required']) }}
{{ Form::label('from', __('From'), ['class' => 'col-form-label text-dark']) }} {{ Form::text('from', $emailTemplate->from, ['class' => 'form-control font-style', 'required' => 'required']) }}
{{ Form::label('content', __('Email Message'), ['class' => 'col-form-label text-dark']) }} {{ Form::textarea('content', $currEmailTempLang->content, ['class' => 'summernote']) }}
{{ Form::close() }}



@endsection @push('custom-scripts') @endpush