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,9 +174,10 @@ class = "active"
$user_Priority=$Priority->status;
?>
@if($user_Priority == 1)
@if(Auth::user()->active == '1')
<div class="col-md-12 form-group">
@if(!Auth::user())
<div class="col-md-12 form-group">
<div class="row">
<div class="col-md-1">
<label>{!! Lang::get('lang.priority') !!}:</label>
@@ -187,7 +188,6 @@ class = "active"
</div>
</div>
</div>
@endif
@endif
<div class="col-md-12 form-group {{ $errors->has('Subject') ? 'has-error' : '' }}">