summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2010-03-31 07:35:47 +0000
committerivan <ivan>2010-03-31 07:35:47 +0000
commit5f71517b3de709a86c89dbacc6247cd6e52f4c42 (patch)
tree00dd53b49a9b12f45772d8ce164c8b84601ec158 /httemplate/view
parent6097db7667840f4a65c0012da009528635a7f82e (diff)
fix customer notes and attachments wrt s/otaker/usernum/ changes; still need to look at the migration, RT#7935
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_main/attachments.html2
-rwxr-xr-xhttemplate/view/cust_main/notes.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/attachments.html b/httemplate/view/cust_main/attachments.html
index b16a81eae..bdd4f5917 100755
--- a/httemplate/view/cust_main/attachments.html
+++ b/httemplate/view/cust_main/attachments.html
@@ -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 %>
diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html
index f8a6a2533..74d3f602b 100755
--- a/httemplate/view/cust_main/notes.html
+++ b/httemplate/view/cust_main/notes.html
@@ -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 %>