help desk HelpdeskTicket Comment
This commit is contained in:
parent
0581fce93c
commit
d8cc2d191f
|
|
@ -756,6 +756,7 @@ Route::group(
|
|||
'as' =>'help.comment',
|
||||
'uses' => 'HelpDeskController@comment'
|
||||
]);
|
||||
|
||||
// Route::get('/terms_and_conditions', [
|
||||
// 'as' => 'termsAndConditions',
|
||||
// function () {
|
||||
|
|
|
|||
|
|
@ -156,4 +156,15 @@ return [
|
|||
'checkout_fail_button' => 'Contact us',
|
||||
'redirect_payment_message' =>'Redirecting to payment gateway',
|
||||
'organiser' => 'Organiser',
|
||||
'support' => 'Tech. support',
|
||||
'submit_ticket' => 'Submit ticket',
|
||||
'support_form_text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque libero mollitia nemo, nobis odit quasi quidem quisquam sunt. Cupiditate dolores nisi nostrum officiis provident quasi recusandae unde voluptate. Eos, suscipit!',
|
||||
'support_topic' => 'Topic',
|
||||
'choose_support_topic' => 'Please chose topic',
|
||||
'other' => 'Other',
|
||||
'attachment' => 'attachment',
|
||||
'support_subject' => 'Subject',
|
||||
'reply' => 'Reply',
|
||||
'new_ticket' => 'New ticket',
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -163,4 +163,15 @@ return [
|
|||
'search_result' => 'Результат поиска по',
|
||||
'search_showing' => 'Видно на странице',
|
||||
'organiser' => 'Организатор',
|
||||
|
||||
'support' => 'Tech. support',
|
||||
'submit_ticket' => 'Submit ticket',
|
||||
'support_form_text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque libero mollitia nemo, nobis odit quasi quidem quisquam sunt. Cupiditate dolores nisi nostrum officiis provident quasi recusandae unde voluptate. Eos, suscipit!',
|
||||
'support_topic' => 'Topic',
|
||||
'choose_support_topic' => 'Please chose topic',
|
||||
'other' => 'Other',
|
||||
'attachment' => 'attachment',
|
||||
'support_subject' => 'Subject',
|
||||
'reply' => 'Reply',
|
||||
'new_ticket' => 'New ticket',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -168,4 +168,15 @@ sargydyňyz Bank tarapyndan ýatyrylandyr. Biletleri täzeden satyn almaga synan
|
|||
'search_result' => 'Gözleg netijesi:',
|
||||
'search_showing' => 'Sahypada görkezileni',
|
||||
'organiser' => 'Gurnaýjy',
|
||||
|
||||
'support' => 'Tech. support',
|
||||
'submit_ticket' => 'Submit ticket',
|
||||
'support_form_text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque libero mollitia nemo, nobis odit quasi quidem quisquam sunt. Cupiditate dolores nisi nostrum officiis provident quasi recusandae unde voluptate. Eos, suscipit!',
|
||||
'support_topic' => 'Topic',
|
||||
'choose_support_topic' => 'Please chose topic',
|
||||
'other' => 'Other',
|
||||
'attachment' => 'attachment',
|
||||
'support_subject' => 'Subject',
|
||||
'reply' => 'Reply',
|
||||
'new_ticket' => 'New ticket',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
<p class="help-block">{{ $errors->first('text') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
{!! Form::submit(trans("ClientSide.create_ticket"), ['class'=>"btn btn-success"]) !!}
|
||||
{!! Form::submit('Submit', ['class'=>"btn btn-success"]) !!}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,20 @@
|
|||
|
||||
<section class="movie-items-group firts-child my-5">
|
||||
<div class="container">
|
||||
<div class="row justify-content-around">
|
||||
<div>
|
||||
<h1>
|
||||
@lang('ClientSide.support')
|
||||
</h1>
|
||||
</div>
|
||||
<div>
|
||||
<form action="{{route('help.show')}}" method="GET">
|
||||
{!! Form::input('code', null, array(['class'=>'form-control'])) !!}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<p class="my-4">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque libero mollitia nemo, nobis odit quasi quidem quisquam sunt. Cupiditate dolores nisi nostrum officiis provident quasi recusandae unde voluptate. Eos, suscipit!</p>
|
||||
<p class="my-4">@lang('ClientSide.support_form_text')</p>
|
||||
<div class="col-6">
|
||||
<form action="{{route('help.create')}}" method="POST" enctype="multipart/form-data">
|
||||
@csrf
|
||||
|
|
@ -27,18 +39,18 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group {{ ($errors->has('topic')) ? 'has-error' : '' }}">
|
||||
{!! Form::label('topic', trans("ClientSide.topic"), array('class'=>'control-label')) !!}
|
||||
{!! Form::label('topic', trans("ClientSide.support_topic"), array('class'=>'control-label')) !!}
|
||||
{!! Form::select('topic',help_topics(), old('topic'), ['placeholder'=>trans('ClientSide.please_select'),'class' => 'form-control','id'=>'topic']) !!}
|
||||
@if($errors->has('topic'))
|
||||
<p class="help-block">{{ $errors->first('topic') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group d-none">
|
||||
{!! Form::label('subject', trans("ClientSide.subject"), array('class'=>'control-label')) !!}
|
||||
{!! Form::label('subject', trans("ClientSide.support_subject"), array('class'=>'control-label')) !!}
|
||||
{!! Form::text('subject', old('subject',trans('ClientSide.other')),array('class'=>'form-control' )) !!}
|
||||
</div>
|
||||
<div class="form-group custom-theme {{ ($errors->has('text')) ? 'has-error' : '' }}">
|
||||
{!! Form::label('text', trans("ClientSide.text"), array('class'=>'control-label required')) !!}
|
||||
{!! Form::label('text', trans("ClientSide.message"), array('class'=>'control-label required')) !!}
|
||||
{!! Form::textarea('text', old('text'),
|
||||
array(
|
||||
'class'=>'form-control editable',
|
||||
|
|
@ -55,7 +67,7 @@
|
|||
<p class="help-block">{{ $errors->first('attachment') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
{!! Form::submit(trans("ClientSide.create_ticket"), ['class'=>"btn btn-success"]) !!}
|
||||
{!! Form::submit(trans("ClientSide.submit_ticket"), ['class'=>"btn btn-success"]) !!}
|
||||
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
<div class="row">
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="alert alert-info" role="alert">
|
||||
<p><strong>{{$ticket->owner}} : </strong>{{$ticket->text}}</p>
|
||||
<p><strong>{{$ticket->owner}} : </strong> <small>{{$ticket->created_at->diffForHumans()}}</small></p>
|
||||
<p>{{$ticket->text}}</p>
|
||||
<br>
|
||||
@if($ticket->attachment)
|
||||
<span><strong>Attachment:</strong> <a href="{{asset('user_content/'.$entry->attachment)}}">{{$entry->attachment}}</a></span>
|
||||
|
|
@ -21,7 +22,10 @@
|
|||
<div class="row">
|
||||
<div class="@if($comment->user_id)col-lg-offset-4 col-md-offset-4 @endif col-lg-8 col-md-8">
|
||||
<div class="alert alert-success" role="alert">
|
||||
<p><strong>{{$comment->name}} : </strong>{{$comment->text}}</p><br>
|
||||
<p><strong>{{$comment->name}} : </strong><small>{{$comment->created_at->diffForHumans()}}</small></p>
|
||||
|
||||
<p>{{$comment->text}}</p>
|
||||
<br>
|
||||
@if($comment->attachment)
|
||||
<span><strong>Attachment:</strong> <a href="{{asset('user_content/'.$comment->attachment)}}">{{$comment->attachment}}</a></span>
|
||||
@endif
|
||||
|
|
@ -35,7 +39,7 @@
|
|||
<form action="{{route('help.comment',['code' => $ticket->code])}}" method="post" enctype="multipart/form-data">
|
||||
@csrf
|
||||
<div class="form-group custom-theme {{ ($errors->has('text')) ? 'has-error' : '' }}">
|
||||
{!! Form::label('text', trans("ClientSide.text"), array('class'=>'control-label required')) !!}
|
||||
{!! Form::label('text', trans("ClientSide.message"), array('class'=>'control-label required')) !!}
|
||||
{!! Form::textarea('text', old('text'),
|
||||
array(
|
||||
'class'=>'form-control editable',
|
||||
|
|
@ -52,7 +56,7 @@
|
|||
<p class="help-block">{{ $errors->first('attachment') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
{!! Form::submit(trans("ClientSide.create_ticket"), ['class'=>"btn btn-success"]) !!}
|
||||
{!! Form::submit(trans("ClientSide.reply"), ['class'=>"btn btn-success"]) !!}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ Breadcrumbs::for('search',function($trail){
|
|||
|
||||
Breadcrumbs::for('help',function($trail){
|
||||
$trail->parent('home');
|
||||
$trail->push(trans('ClientSide.help'));
|
||||
$trail->push(trans('ClientSide.support'));
|
||||
});
|
||||
|
||||
Breadcrumbs::for('add_event',function($trail){
|
||||
|
|
|
|||
Loading…
Reference in New Issue