[freeside-commits] freeside/httemplate/view/cust_main notes.html, 1.11, 1.12 attachments.html, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Wed Mar 31 00:35:49 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv14480/httemplate/view/cust_main

Modified Files:
	notes.html attachments.html 
Log Message:
fix customer notes and attachments wrt s/otaker/usernum/ changes; still need to look at the migration, RT#7935

Index: attachments.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/attachments.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- attachments.html	14 Dec 2009 01:41:29 -0000	1.4
+++ attachments.html	31 Mar 2010 07:35:47 -0000	1.5
@@ -82,7 +82,7 @@
     <TR>
       <% note_datestr($attach,$conf,$bgcolor) %>
       <TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
-        &nbsp;<% $attach->otaker%>
+        &nbsp;<% $attach->usernum ? $attach->access_user->name : $attach->otaker %>
       </TD>
       <TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
        &nbsp;<% $attach->filename %>

Index: notes.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/notes.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- notes.html	27 Mar 2010 06:09:55 -0000	1.11
+++ notes.html	31 Mar 2010 07:35:47 -0000	1.12
@@ -50,7 +50,7 @@
     <TR>
       <% note_datestr($note,$conf,$bgcolor) %>
       <TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
-        &nbsp;<% $note->otaker%>
+        &nbsp;<% $note->usernum ? $note->access_user->name : $note->otaker %>
       </TD>
       <TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
         &nbsp;<% $note->comments | defang %>



More information about the freeside-commits mailing list