popup+usergraph-fix

This commit is contained in:
arindam85
2016-10-24 13:26:39 +05:30
parent f284e2f5e4
commit 019684b585
3 changed files with 32 additions and 23 deletions

View File

@@ -1,18 +0,0 @@
APP_ENV=production
APP_DEBUG=false
APP_KEY=SomeRandomString
DB_TYPE=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
DB_INSTALL=%0%
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

View File

@@ -1507,6 +1507,10 @@ return [
* User Module
* --------------------------------------------------------------------------------------------
*/
'agent_report' =>'Agent Report',
'assign_tickets'=>'Assign Tickets',
'delete_agent'=>'Delete Agent',
'delete_user'=>'Delete User',
'confirm_deletion' => 'Confirm Deletion',
'delete_all_content' => ' Delete all content',
'agent_profile' => 'Agent Profile',
@@ -1523,7 +1527,7 @@ return [
'role_change_successfully' => 'Role Change Successfully',
'user_delete_successfully' => 'User Delete Successfully',
'agent_delete_successfully' => 'Agent Delete Successfully',
'select_another_user' => 'Select Another User',
'agent_delete_successfully_and_ticket_assign_to_another_user' => 'Agent Delete Successfully And Ticket Assign TO Another User',
'select_another_agent' => 'Select Another Agent',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent Delete Successfully And Ticket Assign TO Another Agent',
];

View File

@@ -216,7 +216,14 @@ class="active"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title" id="titleLabel">Delete Agent</h4>
@if($users->role=='user')
<h4 class="modal-title" id="titleLabel">{{Lang::get('lang.delete_user')}}</h4>
@endif
@if($users->role=='agent')
<h4 class="modal-title" id="titleLabel">{{Lang::get('lang.delete_agent')}}</h4>
@endif
</div>
<div class="modal-body">
@@ -879,13 +886,19 @@ class="active"
</div><!-- /.col -->
</div> <!-- /.row -->
</div>
@if(Auth::user()->role == 'user')
@if(Auth::user()->role == 'admin')
<div class="row">
<div class="col-md-12">
<link type="text/css" href="{{asset("lb-faveo/css/bootstrap-datetimepicker4.7.14.min.css")}}" rel="stylesheet">
<div class="box box-info">
<div class="box-header with-border">
@if($users->role=='user')
<h3 class="box-title">{!! Lang::get('lang.user_report') !!}</h3>
@endif
@if($users->role=='agent')
<h3 class="box-title">{!! Lang::get('lang.agent_report') !!}</h3>
@endif
</div>
<div class="box-body">
<form id="foo">
@@ -943,7 +956,17 @@ class="active"
<style>
#legend-holder { border: 1px solid #ccc; float: left; width: 25px; height: 25px; margin: 1px; }
</style>
<div class="col-md-4"><span id="legend-holder" style="background-color: #6C96DF;"></span>&nbsp; <span class="lead"> <span id="total-created-tickets" ></span> {!! Lang::get('lang.tickets') !!} {!! Lang::get('lang.created') !!} </span></div>
@if($users->role=='user')
<div class="col-md-4"><span id="legend-holder" style="background-color: #6C96DF;"></span>&nbsp; <span class="lead"> <span id="total-created-tickets" ></span> {!! Lang::get('lang.tickets') !!} {!! Lang::get('lang.created') !!} </span></div>
@endif
@if($users->role=='agent')
<div class="col-md-4"><span id="legend-holder" style="background-color: #6C96DF;"></span>&nbsp; <span class="lead"> <span id="total-created-tickets" ></span> {!! Lang::get('lang.assign_tickets') !!} </span></div>
@endif
<div class="col-md-4"><span id="legend-holder" style="background-color: #6DC5B2;"></span>&nbsp; <span class="lead"> <span id="total-reopen-tickets" class="lead"></span> {!! Lang::get('lang.tickets') !!} {!! Lang::get('lang.reopen') !!} </span></div>
<div class="col-md-4"><span id="legend-holder" style="background-color: #E3B870;"></span>&nbsp; <span class="lead"> <span id="total-closed-tickets" class="lead"></span> {!! Lang::get('lang.tickets') !!} {!! Lang::get('lang.closed') !!} </span></div>
</div>