Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
f5fd6e5b
Commit
f5fd6e5b
authored
7 years ago
by
aydreeihn
Browse files
Options
Downloads
Patches
Plain Diff
Edit tool tips, add Date Range above Statistics
parent
4067fe8a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/class.report.php
+0
-2
0 additions, 2 deletions
include/class.report.php
include/i18n/en_US/help/tips/dashboard.dashboard.yaml
+12
-20
12 additions, 20 deletions
include/i18n/en_US/help/tips/dashboard.dashboard.yaml
include/staff/dashboard.inc.php
+37
-8
37 additions, 8 deletions
include/staff/dashboard.inc.php
with
49 additions
and
30 deletions
include/class.report.php
+
0
−
2
View file @
f5fd6e5b
...
...
@@ -200,8 +200,6 @@ class OverviewReport {
$headers
=
array
(
__
(
'Department'
));
$header
=
function
(
$row
)
{
return
Dept
::
getLocalNameById
(
$row
[
'dept_id'
],
$row
[
'dept__name'
]);
};
$pk
=
'dept__id'
;
//adriane
// $pk = 'dept_id';
$stats
=
$stats
->
filter
(
array
(
'dept_id__in'
=>
$thisstaff
->
getDepts
()))
->
values
(
'dept__id'
,
'dept__name'
);
...
...
This diff is collapsed.
Click to expand it.
include/i18n/en_US/help/tips/dashboard.dashboard.yaml
+
12
−
20
View file @
f5fd6e5b
...
...
@@ -51,49 +51,41 @@ opened:
assigned
:
title
:
Assigned
content
:
>
Tickets that have been assigned to either an Agent or a Team while having the
Department, Help Topic, or Agent on the ticket. The number reflects tickets that
are manually assigned to agents or teams, claimed tickets, and tickets assigned
from ticket filters/other auto-assignment rules.
Tickets that have been assigned to either an Agent or a Team. The number
reflects tickets that are manually assigned to agents or teams, claimed
tickets, and tickets assigned from ticket filters/other auto-assignment rules.
overdue
:
title
:
Overdue
content
:
>
Tickets that have been marked ‘Overdue’ by the system while having the Department,
Help Topic, or Agent listed on the ticket. Tickets are marked Overdue when they
have violated the SLA Plan to which they belonged, causing them to have a status of
‘Open’ past their Due Date.
Tickets that have been marked ‘Overdue’ by the system. Tickets are marked
Overdue when they have violated the SLA Plan to which they belonged, causing
them to have a status of ‘Open’ past their Due Date.
closed
:
title
:
Closed
content
:
>
The number of Tickets that are currently in the Closed status
while also having the Department, Help Topic, or Agent on the ticket.
The number of Tickets that are currently in the Closed status.
reopened
:
title
:
Reopened
content
:
>
The total number of times a ticket was Reopened while also having the Department,
Help Topic, or Agent listed on the ticket within the timeframe chosen. Tickets
The total number of times a ticket was Reopened. Tickets
are reopened whenever their status is changed from Closed to Open.
deleted
:
title
:
Deleted
content
:
>
The amount of tickets that have been deleted while having the
Department, Help Topic, or Agent listed on the ticket within the timeframe
chosen.
The amount of tickets that have been deleted.
service_time
:
title
:
Service Time
content
:
>
Refers to the duration of time that begins at the opening of a ticket and ends
when the ticket is closed without being reopened again. The Service Time column
measures the average Service Time per ticket, in hours, within the specified date
span.
when the ticket is closed. The Service Time column measures the average Service
Time per ticket, in hours.
response_time
:
title
:
Response Time
content
:
>
Shows an average of the number of hours between when a user posted a message on a
ticket and when an agent responded/replied to the customer.
Shows an average response time by an Agent, in hours, to ticket correspondence.
This diff is collapsed.
Click to expand it.
include/staff/dashboard.inc.php
+
37
−
8
View file @
f5fd6e5b
...
...
@@ -67,6 +67,19 @@ $plots = $report->getPlotData();
<hr/>
<h2>
<?php
echo
__
(
'Statistics'
);
?>
<i
class=
"help-tip icon-question-sign"
href=
"#statistics"
></i></h2>
<p>
<?php
echo
__
(
'Statistics of tickets organized by department, help topic, and agent.'
);
?>
</p>
<p><b>
<?php
echo
__
(
'Range: '
);
?>
</b>
<?php
$range
=
array
();
foreach
(
$report
->
getDateRange
()
as
$date
)
{
$date
=
str_ireplace
(
'FROM_UNIXTIME('
,
''
,
$date
);
$date
=
str_ireplace
(
')'
,
''
,
$date
);
$date
=
new
DateTime
(
'@'
.
$date
);
$date
->
setTimeZone
(
new
DateTimeZone
(
$thisstaff
->
getTimezone
()));
$range
[]
=
$date
->
format
(
'F j, Y'
);
}
echo
__
(
$range
[
0
]
.
' - '
.
$range
[
1
]);
?>
<ul
class=
"clean tabs"
>
<?php
...
...
@@ -92,28 +105,44 @@ foreach ($groups as $g=>$desc) {
<th
<?php
if
(
$j
===
0
)
echo
'width="30%" class="flush-left"'
;
?>
>
<?php
echo
Format
::
htmlchars
(
$c
);
switch
(
$c
)
{
case
'Opened'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#opened"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#opened"
></i>
<?php
break
;
case
'Assigned'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#assigned"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#assigned"
></i>
<?php
break
;
case
'Overdue'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#overdue"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#overdue"
></i>
<?php
break
;
case
'Closed'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#closed"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#closed"
></i>
<?php
break
;
case
'Reopened'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#reopened"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#reopened"
></i>
<?php
break
;
case
'Deleted'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#deleted"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#deleted"
></i>
<?php
break
;
case
'Service Time'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#service_time"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#service_time"
></i>
<?php
break
;
case
'Response Time'
:
?>
<i
class=
"help-tip icon-question-sign"
href=
"#response_time"
></i>
<?php
?>
<i
class=
"help-tip icon-question-sign"
href=
"#response_time"
></i>
<?php
break
;
}
?>
</th>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment