add package def option to show $0 recurring on invoices, RT#9777
[freeside.git] / httemplate / elements / tr-select-agent.html
index 515a11d..ce03c40 100644 (file)
@@ -24,7 +24,11 @@ Example:
 </%doc>
 % if ( scalar(@agents) == 1 ) { 
 
-  <INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'agentnum' %>" VALUE="<% $agents[0]->agentnum %>">
+  <INPUT TYPE  = "hidden"
+         NAME  = "<% $opt{'field'} || 'agentnum' %>"
+         ID    = "<% $opt{'field'} || 'agentnum' %>"
+         VALUE = "<% $agents[0]->agentnum %>"
+  >
 
 %# YUCK.  empty row so we don't throw g_row in edit.html off :/
   <TR>
@@ -32,14 +36,13 @@ Example:
 % } else { 
 
   <TR>
-    <TD ALIGN="right"><% $opt{'label'} || 'Agent' %></TD>
+    <TD ALIGN="right"><% $opt{'label'} || emt('Agent') %></TD>
     <TD <% $colspan %>>
-      <% include( '/elements/select-agent.html',
+      <& /elements/select-agent.html,
                      'curr_value' => $agentnum,
                      'agents'     => \@agents,
                      %opt,
-                 )
-      %>
+      &>
     </TD>
   </TR>