wiki documentation convertor now
[freeside.git] / httemplate / edit / cust_main.cgi
index 0a7a8c0..ef304dd 100755 (executable)
 % if ( $custnum ) { 
 
   Customer #<B><% $custnum %></B> - 
-  <B><FONT COLOR="<% $cust_main->statuscolor %>">
+  <B><FONT COLOR="#<% $cust_main->statuscolor %>">
     <% ucfirst($cust_main->status) %>
   </FONT></B>
   <BR><BR>
 
 <!-- agent -->
 
-<% include('/elements/tr-select-agent.html', $cust_main->agentnum,
+<% include('/elements/tr-select-agent.html', 
+              'curr_value'  => $cust_main->agentnum,
               'label'       => "<B>${r}Agent</B>",
               'empty_label' => 'Select agent',
            )
 % } else { 
 
 
-   <% include('/elements/tr-select-part_referral.html', $refnum ) %>
+   <% include('/elements/tr-select-part_referral.html',
+                'curr_value' => $refnum
+             )
+   %>
 % }