Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-sla-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-sla-management
Commits
f09be5ee
Commit
f09be5ee
authored
Oct 19, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- SLA Restime
parent
84da9371
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
intranet-sla-management-procs.tcl
tcl/intranet-sla-management-procs.tcl
+3
-2
No files found.
tcl/intranet-sla-management-procs.tcl
View file @
f09be5ee
...
...
@@ -474,7 +474,7 @@ ad_proc -public im_sla_ticket_solution_time_sweeper_helper {
# ----------------------------------------------------------------
# Define the service hours per weekday.
#
(
0
{}
1
{
09:00 21:00
}
2
{
09:00 21:00
}
3
{
09:00 21:00
}
4
{
09:00 21:00
}
5
{
09:00 21:00
}
6
{}
#
(
0
{}
1
{
09:00 21:00
}
2
{
09:00 21:00
}
3
{
09:00 21:00
}
4
{
09:00 21:00
}
5
{
09:00 21:00
}
6
{}
)
#
set service_hours_sql
"
select *
...
...
@@ -513,6 +513,7 @@ ad_proc -public im_sla_ticket_solution_time_sweeper_helper {
coalesce(t.ticket_resolution_time_dirty, to_date('2000-01-01', 'YYYY-MM-DD'))
LIMIT
$limit
"
db_foreach tickets
$ticket
_sql
{
# Skip tickets with empty creation date
...
...
@@ -845,7 +846,7 @@ ad_proc -public im_sla_ticket_solution_time_sweeper_helper {
if
{
$debug
_p
}
{
append time_html
"<li><b>
$ticket
_id :
$ticket
_name</b>:
$resolution
_seconds
\n
"
append time_html
"</ul><ul>
\n
"
append time_html
"</ul><
h1>End SLA=
$sla
_id</h1><
ul>
\n
"
}
# End of looping through one ticket
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment