@if(!empty($value['extra_tags']))
@lang('lang_v1.available_tags'):
@include('notification_template.partials.tags', ['tags' => $value['extra_tags']])
@endif
@if(!empty($value['help_text']))
{{$value['help_text']}}
@endif
{!! Form::label($key . '_subject',
__('lang_v1.email_subject').':') !!}
{!! Form::text('template_data[' . $key . '][subject]',
$value['subject'], ['class' => 'form-control'
, 'placeholder' => __('lang_v1.email_subject'), 'id' => $key . '_subject']); !!}
{!! Form::label($key . '_cc',
'CC:') !!}
{!! Form::email('template_data[' . $key . '][cc]',
$value['cc'], ['class' => 'form-control'
, 'placeholder' => 'CC', 'id' => $key . '_cc']); !!}
{!! Form::label($key . '_bcc',
'BCC:') !!}
{!! Form::email('template_data[' . $key . '][bcc]',
$value['bcc'], ['class' => 'form-control'
, 'placeholder' => 'BCC', 'id' => $key . '_bcc']); !!}
{!! Form::label($key . '_email_body',
__('lang_v1.email_body').':') !!}
{!! Form::textarea('template_data[' . $key . '][email_body]',
$value['email_body'], ['class' => 'form-control ckeditor'
, 'placeholder' => __('lang_v1.email_body'), 'id' => $key . '_email_body', 'rows' => 6]); !!}
{!! Form::label($key . '_sms_body',
__('lang_v1.sms_body').':') !!}
{!! Form::textarea('template_data[' . $key . '][sms_body]',
$value['sms_body'], ['class' => 'form-control'
, 'placeholder' => __('lang_v1.sms_body'), 'id' => $key . '_sms_body', 'rows' => 6]); !!}
{!! Form::label($key . '_whatsapp_text',
__('lang_v1.whatsapp_text').':') !!}
{!! Form::textarea('template_data[' . $key . '][whatsapp_text]',
$value['whatsapp_text'], ['class' => 'form-control'
, 'placeholder' => __('lang_v1.whatsapp_text'), 'id' => $key . '_whatsapp_text', 'rows' => 6]); !!}
@if($key == 'new_sale' || $key == 'payment_reminder')
@if($key == 'payment_reminder')
@lang('lang_v1.payment_reminder_help')
@elseif($key == 'new_sale')
@lang('lang_v1.new_sale_notification_help')
@endif
@endif