summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-11-17 02:31:18 +0000
committerivan <ivan>2011-11-17 02:31:18 +0000
commitc62b6d38ca0e19c2e936c4b1659357babe73d1d7 (patch)
tree5acd7e9f0eeaacd4de0a46cea440176e6e2659ef /httemplate
parentfc0f799f49e3b70f1c2253d556ab2cc7a95664fd (diff)
use display_custnum for referring customer
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/misc.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
index 9346aba4a..c59f6af09 100644
--- a/httemplate/view/cust_main/misc.html
+++ b/httemplate/view/cust_main/misc.html
@@ -77,7 +77,7 @@
%
-<A HREF="<% popurl(1) %>cust_main.cgi?<% $cust_main->referral_custnum %>"><%$cust_main->referral_custnum %>:
+<A HREF="<% popurl(1) %>cust_main.cgi?<% $cust_main->referral_custnum %>"><%$referring_cust_main->display_custnum %>:
<%
( $referring_cust_main->company
? $referring_cust_main->company. ' ('.
@@ -125,10 +125,6 @@
% }
-% foreach (sort { $a cmp $b } $cust_main->virtual_fields) {
- <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %>
-% }
-
% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
<TR>
@@ -138,6 +134,10 @@
% }
+% foreach (sort { $a cmp $b } $cust_main->virtual_fields) {
+ <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %>
+% }
+
</TABLE></TD></TR></TABLE>
<%init>