@include('flash::message')
{{ $search_text }}
{{ Form::open(['route' => 'sms.process_sms']) }}
{{ Form::hidden('selected_send_option', $selected_send_option) }}
@if($selected_send_option == 1 || $selected_send_option == 2)
{{ Form::hidden('valid_patients', json_encode($valid_patients)) }}
{{ Form::hidden('category_position_id', $category_position_id) }}
| Total number of patients |
{{ $total_patients_no }} |
| Number of patients with valid contacts |
{{ count($valid_patients) }} |
@if(count($valid_patients) > 0)
{{ Form::label('sms_message', 'SMS Message') }}
{{ Form::textarea('sms_message', '', ['class' => 'form-control', 'rows' => '3', 'required']) }}
{{ Form::label('comment', 'Comment') }}
{{ Form::textarea('comment', '', ['class' => 'form-control', 'rows' => '3']) }}
@endif
@endif
@if($selected_send_option == 3 || $selected_send_option == 4)
{{ Form::hidden('valid_users', json_encode($valid_users)) }}
{{ Form::hidden('category_position_id', $category_position_id) }}
| Total number of staff |
{{ $total_users_no }} |
| Number of staff with valid contacts |
{{ count($valid_users) }} |
@if(count($valid_users) > 0)
{{ Form::label('sms_message', 'SMS Message') }}
{{ Form::textarea('sms_message', '', ['class' => 'form-control', 'rows' => '3', 'required']) }}
{{ Form::label('comment', 'Comment') }}
{{ Form::textarea('comment', '', ['class' => 'form-control', 'rows' => '3']) }}
@endif
@endif
@if($selected_send_option != 0 && (count($valid_patients) > 0 || count($valid_users) > 0))
{{ Form::button('Submit',['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10 submit-btn']) }}
{{ Form::button('Cancel',['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
@endif
{{ Form::close() }}
@endsection
@push('scripts')
@endpush