summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2007-10-10 17:55:57 +0000
committerivan <ivan>2007-10-10 17:55:57 +0000
commit56641843fc92d3d7ed61166d1e3d12ff691f0cde (patch)
tree3d91d8286bfdbd02f50f6dc704aa8d1a39d6b66e /httemplate/edit
parentf7cf4cb83f2fb242e59d9268f5154c42ea1e7753 (diff)
concurrent fix for package editing also cleans this up slightly
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi49
1 files changed, 27 insertions, 22 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index 5572ff705..98ce71a28 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -162,29 +162,34 @@ Line-item revenue recognition
</TD><TD VALIGN="top">
-%if ( $cgi->param('clone') ) {
- <INPUT TYPE="hidden" NAME="agent_type" VALUE="">
-%}else{
-Reseller information
-<% ntable("#cccccc", 2) %>
- <TR>
- <TD ALIGN="right"><% 'Agent Types' %></TD>
- <TD>
- <% include( '/elements/select-table.html',
- 'element_name' => 'agent_type',
- 'table' => 'agent_type',
- 'name_col' => 'atype',
- 'value' => \@agent_type,
- 'empty_label' => '(none)',
- 'element_etc' => 'multiple size="10"',
- )
- %>
- </TD>
- </TR>
-</TABLE>
-%}
+% if ( $cgi->param('clone') ) {
+
+ <INPUT TYPE="hidden" NAME="agent_type" VALUE="">
+
+% } else {
+
+ Reseller information
+ <% ntable("#cccccc", 2) %>
+ <TR>
+ <TD ALIGN="right"><% 'Agent Types' %></TD>
+ <TD>
+ <% include( '/elements/select-table.html',
+ 'element_name' => 'agent_type',
+ 'table' => 'agent_type',
+ 'name_col' => 'atype',
+ 'value' => \@agent_type,
+ 'empty_label' => '(none)',
+ 'element_etc' => 'multiple size="10"',
+ )
+ %>
+ </TD>
+ </TR>
+ </TABLE>
+
+% }
+
</TD></TR></TABLE>
-%
+
%
%my $thead = "\n\n". ntable('#cccccc', 2).
% '<TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH>';