update for version 1.0.2

This commit is contained in:
sujitprasad
2015-11-30 16:38:59 +05:30
parent d0a69a8df1
commit 7e17edab1e
425 changed files with 14241 additions and 3410 deletions

View File

@@ -38,7 +38,7 @@ class="active"
<div class="box box-primary">
<div class="content-header">
<h4>Create {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
<h4>{!! Lang::get('lang.create') !!} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
</div>
@@ -80,7 +80,7 @@ class="active"
<div class="col-xs-1 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
<label for="ext">EXT</label>
<label for="ext">{!! Lang::get('lang.ext') !!}</label>
{!! $errors->first('ext', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('ext',null,['class' => 'form-control']) !!}
@@ -88,7 +88,7 @@ class="active"
<div class="col-xs-5 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
<label for="phone_number">Phone</label>
<label for="phone_number">{!! Lang::get('lang.phone') !!}</label>
{!! $errors->first('phone_number', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}

View File

@@ -67,7 +67,7 @@ class="active"
<div class="col-xs-1 form-group {{ $errors->has('ext') ? 'has-error' : '' }}">
<label for="ext">EXT</label>
<label for="ext">{!! Lang::get('lang.ext') !!}</label>
{!! $errors->first('ext', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('ext',null,['class' => 'form-control']) !!}
@@ -75,7 +75,7 @@ class="active"
<div class="col-xs-5 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
<label for="phone_number">Phone</label>
<label for="phone_number">{!! Lang::get('lang.phone') !!}</label>
{!! $errors->first('phone_number', '<spam class="help-block">:message</spam>') !!}
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}

View File

@@ -66,7 +66,7 @@ class="active"
<tr>
<th width="100px">{{Lang::get('lang.name')}}</th>
<th width="100px">{{Lang::get('lang.status')}}</th>
<th width="100px">Last Login</th>
<th width="100px">{{Lang::get('lang.last_login')}}</th>
<th width="100px">{{Lang::get('lang.action')}}</th>
</tr>
@@ -74,14 +74,14 @@ class="active"
@foreach($users as $user)
<tr>
<td><a href="{{route('user.show', $user->id)}}"> {{$user->user_name }}</a></td>
<td><?php if($user->active == 1) { ?> <button class="btn btn-success btn-xs">Active</button> <?php } else { ?> <button class="btn btn-danger btn-xs">Inactive</button> <?php } ?></td>
<td><?php if($user->active == 1) { ?> <button class="btn btn-success btn-xs">{!! Lang::get('lang.active') !!}</button> <?php } else { ?> <button class="btn btn-danger btn-xs">{!! Lang::get('lang.inactive') !!}</button> <?php } ?></td>
<td>{{ UTC::usertimezone($user->updated_at) }}</td>
<td>
{!! Form::open(['route'=>['user.destroy', $user->id],'method'=>'DELETE']) !!}
<a href="{{route('user.edit', $user->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> Edit</a>
<a href="{{route('user.edit', $user->id)}}" class="btn btn-info btn-xs btn-flat"><i class="fa fa-edit" style="color:black;"> </i> {!! Lang::get('lang.edit') !!}</a>
{{-- <div class="form-group"> --}}
<!-- To pop up a confirm Message -->
{!! Form::button(' <i class="fa fa-trash" style="color:black;"> </i> Delete',['type' => 'submit',
{!! Form::button(' <i class="fa fa-trash" style="color:black;"> </i>'.Lang::get('lang.delete') ,['type' => 'submit',
'class'=> 'btn btn-warning btn-xs btn-flat',
'onclick'=>'return confirm("Are you sure?")'])
!!}

View File

@@ -23,7 +23,7 @@ class="active"
<div class="content-header">
<h4>Profile {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
<h4>{!! Lang::get('lang.profile') !!} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
</div>
@@ -152,7 +152,7 @@ class="active"
<div class="content-header">
<h4>Change Password {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
<h4>{!! Lang::get('lang.change_password') !!} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}</h4>
</div>
@@ -178,21 +178,21 @@ class="active"
<!-- old password -->
<div class="form-group has-feedback {{ $errors->has('old_password') ? 'has-error' : '' }}">
{!! Form::label('old_password',Lang::get('lang.old_password')) !!}
{!! Form::password('old_password',['placeholder'=>'Password','class' => 'form-control']) !!}
{!! Form::password('old_password',['placeholder'=>Lang::get('lang.old_password'),'class' => 'form-control']) !!}
{!! $errors->first('old_password', '<spam class="help-block">:message</spam>') !!}
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<!-- new password -->
<div class="form-group has-feedback {{ $errors->has('new_password') ? 'has-error' : '' }}">
{!! Form::label('new_password',Lang::get('lang.new_password')) !!}
{!! Form::password('new_password',['placeholder'=>'New Password','class' => 'form-control']) !!}
{!! Form::password('new_password',['placeholder'=>Lang::get('lang.new_password'),'class' => 'form-control']) !!}
{!! $errors->first('new_password', '<spam class="help-block">:message</spam>') !!}
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<!-- confirm password -->
<div class="form-group has-feedback {{ $errors->has('confirm_password') ? 'has-error' : '' }}">
{!! Form::label('confirm_password',Lang::get('lang.confirm_password')) !!}
{!! Form::password('confirm_password',['placeholder'=>'Confirm Password','class' => 'form-control']) !!}
{!! Form::password('confirm_password',['placeholder'=>Lang::get('lang.confirm_password'),'class' => 'form-control']) !!}
{!! $errors->first('confirm_password', '<spam class="help-block">:message</spam>') !!}
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
@@ -204,11 +204,9 @@ class="active"
{!! Form::close() !!}
<script>
$(function () {
$("textarea").wysihtml5();
});
</script>
@stop

View File

@@ -36,20 +36,20 @@ class="active"
{{-- <div class="box box-success"> --}}
{{-- <section class="content"> --}}
{{-- <div class=" box-header"> --}}
<h3><b>User Information</b>&nbsp;&nbsp;<a href="{{URL::route('agent-profile-edit')}}"><i class="fa fa-fw fa-edit"> </i></a></h3>
<h3><b>{!! Lang::get('lang.user_information') !!}</b>&nbsp;&nbsp;<a href="{{URL::route('agent-profile-edit')}}"><i class="fa fa-fw fa-edit"> </i></a></h3>
{{-- </div> --}}
<div class="box-body">
<table class="row">
@if($user->gender == 1)
<tr><th class="col-md-8"><h4><b>Gender:<b></h4></th><td class="col-md-6"><h4>{{ 'Male' }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.gender') !!}:<b></h4></th><td class="col-md-6"><h4>{{ 'Male' }}</h4></td></tr>
@else
<tr><th class="col-md-8"><h4><b>gender:</b></h4></th><td class="col-md-6"><h4>{{ 'Female' }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.gender') !!}:</b></h4></th><td class="col-md-6"><h4>{{ 'Female' }}</h4></td></tr>
@endif
<tr><th class="col-md-8"><h4><b>department:</b></h4></th><td class="col-md-6"><h4>{{ $user->primary_dpt }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>group:</b></h4></th><td class="col-md-6"><h4>{{ $user->assign_group }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>Company:</b></h4></th><td class="col-md-6"> <h4>{{ $user->company }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>Time-zone:</b></h4></th><td class="col-md-6"><h4> {{ $user->agent_tzone }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>Role:</b></h4></th><td class="col-md-6"> <h4>{{ $user->role }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.department') !!}:</b></h4></th><td class="col-md-6"><h4>{{ $user->primary_dpt }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.group') !!}:</b></h4></th><td class="col-md-6"><h4>{{ $user->assign_group }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.company') !!}:</b></h4></th><td class="col-md-6"> <h4>{{ $user->company }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.time_zone') !!}:</b></h4></th><td class="col-md-6"><h4> {{ $user->agent_tzone }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.role') !!}:</b></h4></th><td class="col-md-6"> <h4>{{ $user->role }}</h4></td></tr>
</table>
</div>
{{-- </section> --}}
@@ -58,12 +58,12 @@ class="active"
<div class="col-md-6">
{{-- <div class="box box-primary"> --}}
{{-- <section class="content"> --}}
<h3><b>Contact Information</b></h3>
<h3><b>{!! Lang::get('lang.contact_information') !!}</b></h3>
<div class="box-body">
<table>
<tr><th class="col-md-8"><h4><b>Email:</b></h4> </th> <td class="col-md-6"><h4> {{ $user->email }}</h4> </td></tr>
<tr><th class="col-md-8"><h4><b>Phone Number:</b></h4> </th> <td class="col-md-6"><h4> {{ $user->ext }}{{ $user->phone_number }}</h4> </td></tr>
<tr><th class="col-md-8"><h4><b>Moble:</b></h4></th><td class="col-md-6"><h4> {{ $user->mobile }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.email') !!}:</b></h4> </th> <td class="col-md-6"><h4> {{ $user->email }}</h4> </td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.phone_number') !!}:</b></h4> </th> <td class="col-md-6"><h4> {{ $user->ext }}{{ $user->phone_number }}</h4> </td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.mobile') !!}:</b></h4></th><td class="col-md-6"><h4> {{ $user->mobile }}</h4></td></tr>
</table>
</div>
{{-- </section> --}}

View File

@@ -16,7 +16,7 @@ class="active"
@stop
<!-- header -->
@section('PageHeader')
<div class="box-header" style="margin-top:-15px;margin-bottom:-15px;"><h3 class="box-title">User Profile</h3><a href="{{route('user.edit', $users->id)}}" class="btn btn-info btn-sm btn-flat pull-right"><i class="fa fa-edit" style="color:black;"> </i> Edit</a></div>
<div class="box-header" style="margin-top:-15px;margin-bottom:-15px;"><h3 class="box-title">{!! Lang::get('lang.user_profile') !!}</h3><a href="{{route('user.edit', $users->id)}}" class="btn btn-info btn-sm btn-flat pull-right"><i class="fa fa-edit" style="color:black;"> </i> {!! Lang::get('lang.edit') !!}</a></div>
@stop
<!-- /header -->
<!-- breadcrumbs -->
@@ -61,14 +61,14 @@ class="active"
$user_org = App\Model\helpdesk\Agent_panel\User_org::where('user_id','=', $users->id)->first();
?>
@if($user_org == null)
<b>Organisation</b>
<b>{!! Lang::get('lang.organization') !!}</b>
<a href="" class="pull-right" data-toggle="modal" data-target="#assign"><i class="fa fa-hand-o-right" style="color:orange;"> </i> Assign </a>
<a href="" class="pull-right" data-toggle="modal" data-target="#assign"><i class="fa fa-hand-o-right" style="color:orange;"> </i> {!! Lang::get('lang.assign') !!} </a>
<a href="" data-toggle="modal" data-target="#create_org" class="pull-right"> {{Lang::get('lang.create')}} <b style="color:#000"> / </b>&nbsp; </a>
@else
<?php $org_id = $user_org->org_id;
$organization = App\Model\helpdesk\Agent_panel\Organization::where('id','=',$org_id)->first(); ?>
<b>Organisations</b>
<b>{!! Lang::get('lang.organization') !!}</b>
<a href="{!! URL::route('organizations.show',$organization->id) !!}" class="pull-right">{!! $organization->name !!}</a>
@endif
@@ -79,9 +79,9 @@ class="active"
<b>{{Lang::get('lang.status')}}</b>
<a class="pull-right">
@if($users->active == '1')
<span style="color:green;">Active</span>
<span style="color:green;">{!! Lang::get('lang.active') !!}</span>
@else
<span style="color:red;">Inactive</span>
<span style="color:red;">{!! Lang::get('lang.inactive') !!}</span>
@endif
</a>
</div>
@@ -111,9 +111,9 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<!-- Custom Tabs -->
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1" data-toggle="tab">Open Tickets ({{$open}})</a></li>
<li><a href="#tab_2" data-toggle="tab">Closed Tickets ({{$counted}})</a></li>
<li><a href="#tab_3" data-toggle="tab">Deleted Tickets ({{$deleted}})</a></li>
<li class="active"><a href="#tab_1" data-toggle="tab">{!! Lang::get('lang.open_tickets') !!} ({{$open}})</a></li>
<li><a href="#tab_2" data-toggle="tab">{!! Lang::get('lang.closed_tickets') !!} ({{$counted}})</a></li>
<li><a href="#tab_3" data-toggle="tab">{!! Lang::get('lang.deleted_tickets') !!} ({{$deleted}})</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_1">
@@ -142,8 +142,8 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<!-- Check all button -->
<a class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></a>
<a class="btn btn-default btn-sm" id="click"><i class="fa fa-refresh"></i></a>
<input type="submit" class="btn btn-default text-orange btn-sm" name="submit" value="Delete">
<input type="submit" class="btn btn-default text-yellow btn-sm" name="submit" value="Close">
<input type="submit" class="btn btn-default text-orange btn-sm" name="submit" value="{!! Lang::get('lang.delete') !!}">
<input type="submit" class="btn btn-default text-yellow btn-sm" name="submit" value="{!! Lang::get('lang.close') !!}">
<div class="pull-right">
<?php
$counted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users->id)->where('status', '=','1')->get());
@@ -162,13 +162,13 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<thead>
<th>
</th>
<th>Subject</th>
<th>Ticket ID</th>
<th>Priority</th>
<th>From</th>
<th>Last Replier</th>
<th>Assigned To</th>
<th>Last Activity</th>
<th>{!! Lang::get('lang.subject') !!}</th>
<th>{!! Lang::get('lang.ticket_id') !!}</th>
<th>{!! Lang::get('lang.priority') !!}</th>
<th>{!! Lang::get('lang.from') !!}</th>
<th>{!! Lang::get('lang.last_replier') !!}</th>
<th>{!! Lang::get('lang.assigned_to') !!}</th>
<th>{!! Lang::get('lang.last_activity') !!}</th>
</thead>
<tbody id="hello">
<?php $tickets = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users->id)->where('status', '=','1')->orderBy('id', 'DESC')->paginate(20);?>
@@ -265,8 +265,8 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<!-- Check all button -->
<a class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></a>
<a class="btn btn-default btn-sm" id="click"><i class="fa fa-refresh"></i></a>
<input type="submit" class="btn btn-default text-orange btn-sm" name="submit" value="Delete">
<input type="submit" class="btn btn-default text-yellow btn-sm" name="submit" value="Close">
<input type="submit" class="btn btn-default text-orange btn-sm" name="submit" value="{!! Lang::get('lang.delete') !!}">
<input type="submit" class="btn btn-default text-yellow btn-sm" name="submit" value="{!! Lang::get('lang.close') !!}">
<div class="pull-right">
<?php
$counted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users->id)->where('status', '=','2')->get());
@@ -285,13 +285,13 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<thead>
<th>
</th>
<th>Subject</th>
<th>Ticket ID</th>
<th>Priority</th>
<th>From</th>
<th>Last Replier</th>
<th>Assigned To</th>
<th>Last Activity</th>
<th>{!! Lang::get('lang.subject') !!}</th>
<th>{!! Lang::get('lang.ticket_id') !!}</th>
<th>{!! Lang::get('lang.priority') !!}</th>
<th>{!! Lang::get('lang.from') !!}</th>
<th>{!! Lang::get('lang.last_replier') !!}</th>
<th>{!! Lang::get('lang.assigned_to') !!}</th>
<th>{!! Lang::get('lang.last_activity') !!}</th>
</thead>
<tbody id="hello">
<?php $tickets = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users->id)->where('status', '=','2')->orderBy('id', 'DESC')->paginate(20);?>
@@ -390,8 +390,8 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<!-- Check all button -->
<a class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></a>
<a class="btn btn-default btn-sm" id="click"><i class="fa fa-refresh"></i></a>
<input type="submit" class="btn btn-default text-orange btn-sm" name="submit" value="Delete">
<input type="submit" class="btn btn-default text-yellow btn-sm" name="submit" value="Close">
<input type="submit" class="btn btn-default text-orange btn-sm" name="submit" value="{!! Lang::get('lang.delete') !!}">
<input type="submit" class="btn btn-default text-yellow btn-sm" name="submit" value="{!! Lang::get('lang.close') !!}">
<div class="pull-right">
<?php
$counted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users->id)->where('status', '=','5')->get());
@@ -410,13 +410,13 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<thead>
<th>
</th>
<th>Subject</th>
<th>Ticket ID</th>
<th>Priority</th>
<th>From</th>
<th>Last Replier</th>
<th>Assigned To</th>
<th>Last Activity</th>
<th>{!! Lang::get('lang.subject') !!}</th>
<th>{!! Lang::get('lang.ticket_id') !!}</th>
<th>{!! Lang::get('lang.priority') !!}</th>
<th>{!! Lang::get('lang.from') !!}</th>
<th>{!! Lang::get('lang.last_replier') !!}</th>
<th>{!! Lang::get('lang.assigned_to') !!}</th>
<th>{!! Lang::get('lang.last_activity') !!}</th>
</thead>
<tbody id="hello">
<?php $tickets = App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users->id)->where('status', '=','5')->orderBy('id', 'DESC')->paginate(20);?>
@@ -508,7 +508,7 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
{!! Form::model($users->id, ['id'=>'form','method' => 'PATCH'] )!!}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidd en="true">&times;</span></button>
<h4 class="modal-title">Create Organization</h4>
<h4 class="modal-title">{!! Lang::get('lang.create_organization') !!}</h4>
</div>
<div class="modal-body">
<!-- failure message -->
@@ -519,7 +519,7 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
<div class="row" id="hide">
<div class="col-md-4">
<div class="form-group">
<label>Name</label>
<label>{!! Lang::get('lang.name') !!}</label>
<input type="text" name="name" class="form-control">
<spam id="error-name" style="display:none;position:fixed" class="call-out text-red">This is a required field</spam>
<spam id="error-name1" style="display:none;position:fixed" class="call-out text-red">! Allready Taken</spam>
@@ -528,14 +528,14 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
</div>
<div class="col-md-4">
<div class="form-group">
<label>Phone</label>
<label>{!! Lang::get('lang.phone') !!}</label>
<input type="number" name="phone" class="form-control">
<br/>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Website</label>
<label>{!! Lang::get('lang.website') !!}</label>
<input type="url" name="website" placeholder="https://www.example.com" class="form-control">
<spam id="error-website" style="display:none" class="help-block text-red">! Allready Taken</spam>
<br/>
@@ -543,13 +543,13 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
</div>
<div class="col-md-6">
<div class="form-group">
<label>Address</label>
<label>{!! Lang::get('lang.address') !!}</label>
<textarea name="address" class="form-control"></textarea>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Internal</label>
<label>{!! Lang::get('lang.internal_notes') !!}</label>
<textarea name="internal" class="form-control"></textarea>
</div>
</div>
@@ -567,8 +567,8 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default pull-left" data-dismiss="modal" id="dismis">Close</button>
<input type="submit" class="btn btn-primary pull-right" value="Update">
<button type="button" class="btn btn-default pull-left" data-dismiss="modal" id="dismis">{!! Lang::get('lang.close') !!}</button>
<input type="submit" class="btn btn-primary pull-right" value="{!! Lang::get('lang.update') !!}">
</div>
{!! Form::close() !!}
</div><!-- /.modal-content -->
@@ -626,7 +626,7 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
{!! Form::model($users->id, ['id'=>'org_assign','method' => 'PATCH'] )!!}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" id="dismiss" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Assign</h4>
<h4 class="modal-title">{!! Lang::get('lang.assign') !!}</h4>
</div>
<div id="assign_alert" class="alert alert-success alert-dismissable" style="display:none;">
<button id="assign_dismiss" type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
@@ -642,7 +642,7 @@ $deleted = count(App\Model\helpdesk\Ticket\Tickets::where('user_id', '=', $users
</div>
</div>
<div id="assign_body">
<p>Please Select an Organization</p>
<p>{!! Lang::get('lang.please_select_an_organization') !!}</p>
<select id="org" class="form-control" name="org">
<?php
$orgs = App\Model\helpdesk\Agent_panel\Organization::all();
@@ -656,8 +656,8 @@ $orgs = App\Model\helpdesk\Agent_panel\Organization::all();
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default pull-left" data-dismiss="modal" id="dismis4">Close</button>
<button type="submit" class="btn btn-success pull-right" id="submt2">Assign</button>
<button type="button" class="btn btn-default pull-left" data-dismiss="modal" id="dismis4">{!! Lang::get('lang.close') !!}</button>
<button type="submit" class="btn btn-success pull-right" id="submt2">{!! Lang::get('lang.assign') !!}</button>
</div>
{!! Form::close()!!}
</div><!-- /.modal-content -->