help desk create view

This commit is contained in:
merdan 2020-05-01 16:39:41 +05:00
parent 08fdc582d1
commit 5144b09395
2 changed files with 2 additions and 2 deletions

View File

@ -101,6 +101,6 @@ if(!function_exists('help_topics')){
->orderBy('position','asc')
->pluck('title','id');
return $topics + [0 => 'Other'];
return $topics [] = [0 => 'Other'];
}
}

View File

@ -24,7 +24,7 @@
<div class="form-group">
{!! Form::label('topic', trans("ClientSide.topic"), array('class'=>'control-label')) !!}
{!! Form::select('topic',[null=>'Please Select'] + help_topics(), old('topic'), ['class' => 'form-control','id'=>'topic']) !!}
{!! Form::select('topic',help_topics(), old('topic'), ['placeholder'=>trans('ClientSide.please_select'),'class' => 'form-control','id'=>'topic']) !!}
</div>
<div class="form-group hidden">
{!! Form::label('subject', trans("ClientSide.subject"), array('class'=>'control-label')) !!}