diff --git a/code/code/app/Http/Controllers/Agent/helpdesk/DashboardController.php b/code/code/app/Http/Controllers/Agent/helpdesk/DashboardController.php
index 0d0be7fa7..e0fd49ada 100644
--- a/code/code/app/Http/Controllers/Agent/helpdesk/DashboardController.php
+++ b/code/code/app/Http/Controllers/Agent/helpdesk/DashboardController.php
@@ -55,7 +55,7 @@ class DashboardController extends Controller {
public function ChartData()
{
$ticketlist = DB::table('tickets')
- ->select(DB::raw('MONTHNAME(updated_at) as month'), DB::raw("(closed) as monthNum"),
+ ->select(DB::raw('MONTH(updated_at) as month'),
DB::raw('count(*) as tickets'))
->groupBy('month')
->orderBy('month', 'desc')
diff --git a/code/code/resources/views/themes/default1/agent/helpdesk/dashboard/dashboard.blade.php b/code/code/resources/views/themes/default1/agent/helpdesk/dashboard/dashboard.blade.php
index a01e4a45d..458260bfd 100644
--- a/code/code/resources/views/themes/default1/agent/helpdesk/dashboard/dashboard.blade.php
+++ b/code/code/resources/views/themes/default1/agent/helpdesk/dashboard/dashboard.blade.php
@@ -13,28 +13,28 @@ class="active"
@stop
@section('content')
-
-
-
+
- Agent |
+ Department |
Opened |
+ Resolved |
Closed |
- Assigned |
- Reopened |
- SLA |
+ Deleted |
- @foreach($tickets as $ticket)
+
+
+@foreach($departments as $department)
+id)->where('status','=',1)->count();
+$resolve = App\Model\helpdesk\Ticket\Tickets::where('dept_id','=',$department->id)->where('status','=',2)->count();
+$close = App\Model\helpdesk\Ticket\Tickets::where('dept_id','=',$department->id)->where('status','=',3)->count();
+$delete = App\Model\helpdesk\Ticket\Tickets::where('dept_id','=',$department->id)->where('status','=',5)->count();
+
+?>
+
- Sujit Prasad |
- 1 |
- {!! $ticket->closed !!} |
- {!! $ticket->source !!} |
- {!! $ticket->reopened !!} |
- {!! $ticket->sla !!} |
+ {!! $department->name !!} |
+ {!! $open !!} |
+ {!! $resolve !!} |
+ {!! $close !!} |
+ {!! $delete !!} |
@endforeach
@@ -70,16 +78,55 @@ class="active"
-
+
@stop
diff --git a/code/code/resources/views/themes/default1/installer/helpdesk/view1.blade.php b/code/code/resources/views/themes/default1/installer/helpdesk/view1.blade.php
index f10562b8e..0acc8abba 100644
--- a/code/code/resources/views/themes/default1/installer/helpdesk/view1.blade.php
+++ b/code/code/resources/views/themes/default1/installer/helpdesk/view1.blade.php
@@ -17,7 +17,7 @@
{!! Session::get('fails') !!}
@endif
- Item is covered by our standard licenses. If your end product including the item is going to be free to the end user then a Regular License is what you need. An Extended License is required if the end user must pay to use the end product.
+ PLEASE READ THIS SOFTWARE LICENSE AGREEMENT CAREFULLY BEFORE DOWNLOADING OR USING THE SOFTWARE. BY CLICKING ON THE "ACCEPT" BUTTON, OPENING THE PACKAGE, OR DOWNLOADING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, STOP THE INSTALLATION PROCESS AND EXIT.