{!! Form::textarea('body', $note_info->body ?? '', [ 'class' => 'form-control', 'placeholder' => $note_placeholder ?? 'Write your note here.', 'rows' => 4, 'name' => 'body', 'max' => 10000, 'required' => $note_required ?? true ]) !!}
@if(!empty($note_info)) @foreach($note_info->files as $file)
{!! $file->display(true) !!}
@endforeach @endif
@if(empty($no_note_type)) @php if(empty($note_default_type)) $note_default_type = $note_info->type ?? 0; if(!empty($_GET['type']) && is_numeric($_GET['type'])){ $note_default_type = $_GET['type']; } @endphp
Type:   @if(!empty($note_type_description)) {!! $note_type_description !!}
@endif {!! Form::select('type', config('enum.note_types'), $note_default_type, ['id' => 'note-type-select']) !!}
@endif @if(empty($no_note_staff))
Assign task to staff
@endif @if(empty($no_note_state))
Permission level to see:   {!! Form::select('state', config('enum.note_states'), $note_info->state ?? 0, ['id' => 'state-select']) !!}
@endif
Notify people by email