Update of /cvsroot/helpmeict/Helpdesk
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv16181
Modified Files:
Tag: v1_r1
issue.php reports.php
Log Message:
Corrected time display bug in reports (not showing minutes,) logging bug in remarks (not logging minutes,) and includes script fixRemarks.php which adds minutes to remarks table.
Index: reports.php
===================================================================
RCS file: /cvsroot/helpmeict/Helpdesk/reports.php,v
retrieving revision 1.8.4.5.2.6
retrieving revision 1.8.4.5.2.7
diff -C2 -d -r1.8.4.5.2.6 -r1.8.4.5.2.7
*** reports.php 2 Apr 2008 16:45:36 -0000 1.8.4.5.2.6
--- reports.php 10 Jun 2008 14:14:14 -0000 1.8.4.5.2.7
***************
*** 8,11 ****
--- 8,12 ----
Changelog:
+ 2008-06-10 pegasus: Fixed Time Spent display issue
2008-04-02 pegasus: Changed hard-coded date formats to use a new 'dateformat' global pref from the DB.
2006-01-14 dave: Cleaned up code for v1.0 release
***************
*** 445,449 ****
$timeRS = db_recordset("SELECT SUM(time) AS ts FROM tbl_Times WHERE
issue={$record['id']}");
! $timespent = maketime($timeRS[0]['ts']);
if ($timespent == '' || $timespent == '0::' || $timespent == '::') {
## $timespent = $timeRS[0]['ts'];
--- 446,451 ----
$timeRS = db_recordset("SELECT SUM(time) AS ts FROM tbl_Times WHERE
issue={$record['id']}");
! //$timespent = maketime($timeRS[0]['ts']);
! $timespent = $timeRS[0]['ts']; // timeRS[0]['ts'] is already in the correct format
if ($timespent == '' || $timespent == '0::' || $timespent == '::') {
## $timespent = $timeRS[0]['ts'];
Index: issue.php
===================================================================
RCS file: /cvsroot/helpmeict/Helpdesk/issue.php,v
retrieving revision 1.33.4.11.2.9
retrieving revision 1.33.4.11.2.10
diff -C2 -d -r1.33.4.11.2.9 -r1.33.4.11.2.10
*** issue.php 2 Apr 2008 16:45:36 -0000 1.33.4.11.2.9
--- issue.php 10 Jun 2008 14:14:14 -0000 1.33.4.11.2.10
***************
*** 8,13 ****
Changelog:
! 2008-04-02 pegasus: Added attachment ability check. (See "Deal with adding an attachment" below.)
! 2008-04-02 pegasus: Changed hard-coded date formats to use a new 'dateformat' global pref from the DB.
2006-01-14 dave: Cleaned up code for v1.0 release
2005-07-02 arne_sf: Replaced all instances of column name 'user'
--- 8,14 ----
Changelog:
! 2008-06-10 pegasus: Fixed bug preventing logging minutes in remarks
! 2008-04-02 pegasus: Added attachment ability check. (See "Deal with adding an attachment" below.)
! 2008-04-02 pegasus: Changed hard-coded date formats to use a new 'dateformat' global pref from the DB.
2006-01-14 dave: Cleaned up code for v1.0 release
2005-07-02 arne_sf: Replaced all instances of column name 'user'
***************
*** 259,263 ****
if (count($time)>0) $an_additional = " an additional";
$timetrack = "Spent$an_additional $timestring on the problem.";
! $time = "$timehours:$timeminute:00";
}
}
--- 260,264 ----
if (count($time)>0) $an_additional = " an additional";
$timetrack = "Spent$an_additional $timestring on the problem.";
! $time = "$timehours:$timeminutes:00";
}
}
|