bug-fix-patch-7
# while changing owner of the ticket cheking if the owner already owns the ticket or not # fixed showing inactive agents problem in help topic edit and create pages
This commit is contained in:
@@ -1155,5 +1155,7 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
|
||||
];
|
||||
|
@@ -1118,7 +1118,7 @@ return [
|
||||
'minutes' => ' minutes',
|
||||
'in_minutes' => 'In minutes',
|
||||
'add_another_owner' => 'Add another owner',
|
||||
'user-not-found' => 'User not found. Try again or add a new user.',
|
||||
'user-not-found' => 'User not found or user is inactive. Try again or add a new user.',
|
||||
'change-success' => 'Success! owner has been changed for this ticket.',
|
||||
'user-exists' => 'User already exists. Try search existing user.',
|
||||
'valid-email' => 'Enter a valid email address.',
|
||||
@@ -1592,4 +1592,6 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
];
|
||||
|
@@ -1563,5 +1563,7 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
|
||||
];
|
||||
|
@@ -1115,4 +1115,6 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
];
|
||||
|
@@ -1609,4 +1609,6 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
];
|
||||
|
@@ -1554,5 +1554,7 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
|
||||
];
|
||||
|
@@ -1063,4 +1063,6 @@ return [
|
||||
'inactive-users' => 'Inactive users',
|
||||
'all-users' => 'All users',
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
];
|
||||
|
@@ -137,7 +137,7 @@ class="active"
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('auto_assign') ? 'has-error' : '' }}">
|
||||
{!! Form::label('auto_assign',Lang::get('lang.auto_assign')) !!}
|
||||
{!!Form::select('auto_assign', [''=>Lang::get('lang.select_an_agent'),Lang::get('lang.agents')=>$agents->lists('first_name','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
{!!Form::select('auto_assign', [''=>Lang::get('lang.select_an_agent'),Lang::get('lang.agents')=>$agents->lists('full_name','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -135,7 +135,7 @@ class="active"
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('auto_assign') ? 'has-error' : '' }}">
|
||||
{!! Form::label('auto_assign',Lang::get('lang.auto_assign')) !!}
|
||||
{!!Form::select('auto_assign', [''=>Lang::get('lang.select_an_agent'),Lang::get('lang.agents')=>$agents->lists('first_name','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
{!!Form::select('auto_assign', [''=>Lang::get('lang.select_an_agent'),Lang::get('lang.agents')=>$agents->lists('full_name','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -948,7 +948,7 @@ alert(h+20);
|
||||
<div class="tab-pane active" id="ahah1">
|
||||
<div id="change_alert" class="alert alert-danger alert-dismissable" style="display:none;">
|
||||
<button id="change_dismiss" type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-check"></i>Alert!</h4>
|
||||
<h4><i class="icon fa fa-exclamation-circle"></i>Alert!</h4>
|
||||
<div id="message-success42"></div>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@@ -1645,15 +1645,17 @@ alert(h+20);
|
||||
$("#change_loader").show();
|
||||
},
|
||||
success: function(response) {
|
||||
if (response != 1)
|
||||
{
|
||||
// $("#assign_body").show();
|
||||
var message = "{{Lang::get('lang.user-not-found')}}";
|
||||
$('#change_alert').show();
|
||||
$('#message-success42').html(message);
|
||||
setInterval(function(){$("#change_alert").hide(); }, 5000);
|
||||
$("#change_body").show();
|
||||
$("#change_loader").hide();
|
||||
if (response != 1) {
|
||||
// $("#assign_body").show();
|
||||
var message = "{{Lang::get('lang.user-not-found')}}";
|
||||
if (response == 400) {
|
||||
message = "{{Lang::get('lang.selected-user-is-already-the-owner')}}";
|
||||
}
|
||||
$('#change_alert').show();
|
||||
$('#message-success42').html(message);
|
||||
setInterval(function(){$("#change_alert").hide(); }, 5000);
|
||||
$("#change_body").show();
|
||||
$("#change_loader").hide();
|
||||
} else {
|
||||
$("#change_body").show();
|
||||
$("#change_loader").hide();
|
||||
|
Reference in New Issue
Block a user