{{ html()->form('POST', route('notificationtemplates.settings.update'))->attribute('enctype', 'multipart/form-data')->attribute('data-toggle', 'validator')->open() }} {{ html()->hidden('id', null)->class('form-control')->placeholder('id') }} {{ html()->hidden('page', $page)->class('form-control')->placeholder('id') }}
@foreach($notificationChannels as $key => $value) @if(($key == 'IS_WHATSAPP' && isset($othersetting) && $othersetting->whatsapp_notification) || ($key == 'IS_SMS' && isset($othersetting) && $othersetting->sms_notification) || !in_array($key, ['IS_WHATSAPP', 'IS_SMS'])) @endif @endforeach @foreach($data as $templateData) @if(isset($othersetting) && $othersetting->whatsapp_notification) @endif @if(isset($othersetting) && $othersetting->sms_notification) @endif @endforeach
{{ __('messages.template') }}{{ $value }}
{{ $templateData['template'] }}
{{ html()->submit(__('messages.save'))->class('btn btn-md btn-primary float-md-end submit_section1') }} {{ html()->form()->close() }}