{!! Form::open(['url' => action('NotificationController@send'), 'method' => 'post', 'id' => 'send_notification_form' ]) !!}
×
@lang( 'lang_v1.send_notification' ) - {{$template_name}}
{!! Form::radio('notification_type', 'email_only', true, ['class' => 'input-icheck']); !!} @lang('lang_v1.send_email_only')
{!! Form::radio('notification_type', 'sms_only', false, ['class' => 'input-icheck']); !!} @lang('lang_v1.send_sms_only')
{!! Form::radio('notification_type', 'both', false, ['class' => 'input-icheck']); !!} @lang('lang_v1.send_both_email_n_sms')
{!! Form::label('to_email', __('lang_v1.to').':') !!} {!! Form::email('to_email', $transaction->contact->email, ['class' => 'form-control' , 'placeholder' => __('lang_v1.to')]); !!}
{!! Form::label('subject', __('lang_v1.email_subject').':') !!} {!! Form::text('subject', $notification_template['subject'], ['class' => 'form-control' , 'placeholder' => __('lang_v1.email_subject')]); !!}
{!! Form::label('email_body', __('lang_v1.email_body').':') !!} {!! Form::textarea('email_body', $notification_template['email_body'], ['class' => 'form-control', 'placeholder' => __('lang_v1.email_body'), 'rows' => 6]); !!}
{!! Form::label('mobile_number', __('lang_v1.mobile_number').':') !!} {!! Form::text('mobile_number', $transaction->contact->mobile, ['class' => 'form-control', 'placeholder' => __('lang_v1.mobile_number')]); !!}
{!! Form::label('sms_body', __('lang_v1.sms_body').':') !!} {!! Form::textarea('sms_body', $notification_template['sms_body'], ['class' => 'form-control', 'placeholder' => __('lang_v1.sms_body'), 'rows' => 6]); !!}
@lang('lang_v1.available_tags'):
{{implode(', ', $tags)}}
{!! Form::hidden('transaction_id', $transaction->id); !!} {!! Form::hidden('template_for', $notification_template['template_for']); !!} {!! Form::close() !!}