[freeside-commits] freeside/httemplate/edit/cust_main top_misc.html, 1.2.2.3, 1.2.2.4
Ivan,,,
ivan at wavetail.420.am
Sat Oct 9 17:26:35 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv452/edit/cust_main
Modified Files:
Tag: FREESIDE_1_9_BRANCH
top_misc.html
Log Message:
add lock_agentnum and lock_pkgpart parameters to new customer page, RT#9782
Index: top_misc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/top_misc.html,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -u -w -d -r1.2.2.3 -r1.2.2.4
--- top_misc.html 16 Jul 2010 23:46:39 -0000 1.2.2.3
+++ top_misc.html 10 Oct 2010 00:26:33 -0000 1.2.2.4
@@ -8,6 +8,20 @@
%>
%# agent
+% if ( $cgi->param('lock_agentnum') =~ /^(\d+)$/ && $curuser->agentnum($1) ) {
+%
+% my $agentnum = $1;
+% $cust_main->agentnum($agentnum);
+
+ <INPUT TYPE="hidden" NAME="lock_agentnum" VALUE="<% $agentnum %>">
+ <INPUT TYPE="hidden" NAME="agentnum" VALUE="<% $agentnum %>">
+ <TR>
+ <TD ALIGN="right">Agent</TD>
+ <TD CLASS="fsdisabled"><% $cust_main->agent->agent |h %></TD>
+ </TR>
+
+% } else {
+
<% include('/elements/tr-select-agent.html',
'curr_value' => $cust_main->agentnum,
'label' => "<B>${r}Agent</B>",
@@ -16,6 +30,8 @@
)
%>
+% }
+
%# agent_custid
% if ( $conf->exists('cust_main-edit_agent_custid') ) {
More information about the freeside-commits
mailing list