diff --git a/app/Http/Controllers/Agent/helpdesk/TicketController.php b/app/Http/Controllers/Agent/helpdesk/TicketController.php index 74447d614..3e0ea1119 100644 --- a/app/Http/Controllers/Agent/helpdesk/TicketController.php +++ b/app/Http/Controllers/Agent/helpdesk/TicketController.php @@ -2768,7 +2768,7 @@ class TicketController extends Controller return "
id])."'>".$string." ".$thread_count." $source])."' class='".$css."'>".$collabString.$attachString.$due.$tooltip_script. - "".Lang::get('lang.loading').'
'; + "".Lang::get('lang.loading').''; }) ->editColumn('ticket_number', function ($tickets) { return "id])."' class='$".ucfirst($tickets->priority)."*' title='".Lang::get('lang.click-here-to-see-more-details')."'>#".$tickets->ticket_number.''; diff --git a/resources/lang/en/lang.php b/resources/lang/en/lang.php index d117821b6..244020d2c 100644 --- a/resources/lang/en/lang.php +++ b/resources/lang/en/lang.php @@ -1646,4 +1646,5 @@ return [ 'ticket-has-x-priority' => 'This ticket has :priority priority', 'clean-forever' => 'delete permanently', 'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.', + 'click-here-to-see-more-details' => 'Click here to see more details', ]; diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/tickets.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/tickets.blade.php index 7395cbfcf..75bc6e50b 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/tickets.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/tickets.blade.php @@ -8,6 +8,10 @@ class="nav-link active" active @stop +@section('dept-ticket-bar') +class="nav-link active" +@stop + @section('ticket') class="active" @stop diff --git a/resources/views/themes/default1/agent/helpdesk/user/profile-edit.blade.php b/resources/views/themes/default1/agent/helpdesk/user/profile-edit.blade.php index a2a78ca1b..ab0a567a7 100644 --- a/resources/views/themes/default1/agent/helpdesk/user/profile-edit.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/user/profile-edit.blade.php @@ -1,7 +1,7 @@ @extends('themes.default1.agent.layout.agent') @section('Dashboard') -class="active" +class="nav-link active" @stop @section('dashboard-bar') @@ -9,7 +9,7 @@ active @stop @section('profile') -class="active" +class="nav-link active" @stop @section('PageHeader') @@ -17,49 +17,67 @@ class="active" @stop @section('content') + +@if(Session::has('success1')) +
+ + Success + + {{Session::get('success1')}} +
+@endif + +@if(Session::has('fails1')) +
+ + Fail! + + {{Session::get('fails1')}} +
+@endif +@if(Session::has('success')) +
+ + Success + + {{Session::get('success')}} +
+@endif + +@if(Session::has('fails')) +
+ + Fail! + + {{Session::get('fails')}} +
+@endif +@if(Session::has('errors')) + + +
+ + {!! Lang::get('lang.alert') !!}! + +
+ @if($errors->first('first_name')) +
  • {!! $errors->first('first_name', ':message') !!}
  • + @endif + @if($errors->first('mobile')) +
  • {!! $errors->first('mobile', ':message') !!}
  • + @endif +
    +@endif
    {!! Form::model($user,['url'=>'agent-profile', 'id' => 'agent-profile', 'method' => 'PATCH','files'=>true]) !!} -
    -
    -

    +
    +
    +

    {!! Lang::get('lang.profile') !!}

    -
    - @if(Session::has('success')) -
    - - Success - - {{Session::get('success')}} -
    - @endif - - @if(Session::has('fails')) -
    - - Fail! - - {{Session::get('fails')}} -
    - @endif - @if(Session::has('errors')) - - -
    - - {!! Lang::get('lang.alert') !!}! - -
    - @if($errors->first('first_name')) -
  • {!! $errors->first('first_name', ':message') !!}
  • - @endif - @if($errors->first('mobile')) -
  • {!! $errors->first('mobile', ':message') !!}
  • - @endif -
    - @endif +
    {!! Form::label('first_name',Lang::get('lang.first_name')) !!} * @@ -74,10 +92,10 @@ class="active"
    {!! Form::label('gender',Lang::get('lang.gender')) !!}
    -
    +
    {!! Form::radio('gender','1',true) !!} {{Lang::get('lang.male')}}
    -
    +
    {!! Form::radio('gender','0') !!} {{Lang::get('lang.female')}}
    @@ -96,16 +114,16 @@ class="active"
    -
    +
    {!! Form::label('country_code',Lang::get('lang.country-code')) !!} {!! Form::text('country_code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code'), 'id' => 'code']) !!}
    -
    +
    {!! Form::label('phone_number',Lang::get('lang.phone')) !!} {!! Form::text('phone_number',null,['class' => 'form-control']) !!}
    -
    +
    {!! Form::label('ext',Lang::get('lang.ext')) !!} {!! Form::text('ext',null,['class' => 'form-control']) !!}
    @@ -123,79 +141,62 @@ class="active"
    - {!! Form::label('profile_pic',Lang::get('lang.profile_pic')) !!} + {!! Form::label('profile_pic',Lang::get('lang.profile_pic'),['style'=>'font-weight:400;margin-bottom:0px;']) !!} {!! Form::file('profile_pic',['class' => 'form-file']) !!}
    {!! Form::token() !!} {!! Form::close() !!}
    -
    {!! Form::model($user,['url'=>'agent-profile-password/'.$user->id , 'method' => 'PATCH']) !!} -
    -
    -

    {!! Lang::get('lang.change_password') !!}

    +
    +
    +

    {!! Lang::get('lang.change_password') !!}

    -
    - @if(Session::has('success1')) -
    - - Success - - {{Session::get('success1')}} -
    - @endif - - @if(Session::has('fails1')) -
    - - Fail! - - {{Session::get('fails1')}} -
    - @endif +
    {!! Form::label('old_password',Lang::get('lang.old_password')) !!} * {!! Form::password('old_password',['class' => 'form-control']) !!} {!! $errors->first('old_password', ':message') !!} - +
    {!! Form::label('new_password',Lang::get('lang.new_password')) !!} * {!! Form::password('new_password',['class' => 'form-control']) !!} {!! $errors->first('new_password', ':message') !!} - +
    {!! Form::label('confirm_password',Lang::get('lang.confirm_password')) !!} * {!! Form::password('confirm_password',['class' => 'form-control']) !!} {!! $errors->first('confirm_password', ':message') !!} - +
    -
    {!! Form::close() !!} -