[freeside-commits] freeside/httemplate/search rt_transaction.html, 1.9, 1.10 rt_ticket.html, 1.2, 1.3

Mark Wells mark at wavetail.420.am
Mon Oct 24 15:50:48 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv2189/httemplate/search

Modified Files:
	rt_transaction.html rt_ticket.html 
Log Message:
record support time even without comment text, #14837

Index: rt_ticket.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/rt_ticket.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- rt_ticket.html	20 Nov 2010 23:23:02 -0000	1.2
+++ rt_ticket.html	24 Oct 2011 22:50:46 -0000	1.3
@@ -67,7 +67,7 @@
     AND (    ( Transactions.Type = 'Set'
                AND Transactions.Field = 'TimeWorked'
                AND Transactions.NewValue != Transactions.OldValue )
-          OR ( ( Transactions.Type='Create' OR Transactions.Type='Comment' OR Transactions.Type='Correspond' )
+          OR ( ( Transactions.Type='Create' OR Transactions.Type='Comment' OR Transactions.Type='Correspond' OR Transactions.Type='Touch' )
                AND Transactions.TimeTaken > 0
              )
         )

Index: rt_transaction.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/rt_transaction.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- rt_transaction.html	20 Nov 2010 23:00:33 -0000	1.9
+++ rt_transaction.html	24 Oct 2011 22:50:46 -0000	1.10
@@ -47,9 +47,9 @@
 #some amount of false laziness w/timeworked.html...
 
 my $transactiontime = "
-  CASE transactions.type when 'Set'
-    THEN (to_number(newvalue,'999999')-to_number(oldvalue, '999999')) * 60
-    ELSE timetaken*60
+  CASE Transactions.Type when 'Set'
+    THEN (to_number(NewValue,'999999')-to_number(OldValue, '999999')) * 60
+    ELSE TimeTaken*60
   END
 ";
 
@@ -62,7 +62,7 @@
     AND (    ( Transactions.Type = 'Set'
                AND Transactions.Field = 'TimeWorked'
                AND Transactions.NewValue != Transactions.OldValue )
-          OR ( ( Transactions.Type='Create' OR Transactions.Type='Comment' OR Transactions.Type='Correspond' )
+          OR ( ( Transactions.Type='Create' OR Transactions.Type='Comment' OR Transactions.Type='Correspond' OR Transactions.Type='Touch' )
                AND Transactions.TimeTaken > 0
              )
         )



More information about the freeside-commits mailing list