only actuve user can chose priority -1

only active priority is showing in ticket edit page and email setting
page
This commit is contained in:
arindam85
2016-10-31 18:00:08 +05:30
parent 1a8d75e8de
commit 34860b407a

View File

@@ -174,8 +174,9 @@ class = "active"
$user_Priority=$Priority->status; $user_Priority=$Priority->status;
?> ?>
@if($user_Priority == 1) @if(!Auth::user())
@if(Auth::user()->active == '1')
<div class="col-md-12 form-group"> <div class="col-md-12 form-group">
<div class="row"> <div class="row">
<div class="col-md-1"> <div class="col-md-1">
@@ -187,7 +188,6 @@ class = "active"
</div> </div>
</div> </div>
</div> </div>
@endif
@endif @endif
<div class="col-md-12 form-group {{ $errors->has('Subject') ? 'has-error' : '' }}"> <div class="col-md-12 form-group {{ $errors->has('Subject') ? 'has-error' : '' }}">