X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_pkg.cgi;h=83ca2cafda13ef221fa966a3c066ae5e1488e986;hp=a84fafa1b1983c9f1464e2010cb5690d39437c05;hb=5f5d2124d615efbcdbb34eea691f2ca8724b3e47;hpb=3ccc60c2a0aca859a43210b8110757783f9f8ef1
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index a84fafa1b..83ca2cafd 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -159,23 +159,23 @@ Line-item revenue recognition
-Reseller information
-<% ntable("#cccccc", 2) %>
- |
- <% 'Agent Types' %> |
-
- <% 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"',
- )
- %>
- |
-
-
+%#Reseller information # after 1.7.2
+%#<% ntable("#cccccc", 2) %>
+%#
+%# <% 'Agent Types' %> |
+%#
+%# <% 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"',
+%# )
+%# %>
+%# |
+%#
+%#
%
%
@@ -271,7 +271,9 @@ Reseller information
%#} else {
%# push @fixups, 'taxclass'; #hidden
%#}
-%my @form_elements = ( 'classnum', 'taxclass', 'agent_type' );
+%my @form_elements = ( 'classnum', 'taxclass' );
+%# copying non-existant elements is probably harmless, but after 1.7.2
+%#my @form_elements = ( 'classnum', 'taxclass', 'agent_type' );
%
%my @form_radio = ();
%if ( dbdef->table('pkg_svc')->column('primary_svc') ) {
@@ -328,7 +330,7 @@ Reseller information
% ( exists($plandata{$field})
% ? $plandata{$field}
% : $href->{$field}{'default'} ).
-% qq!">!;
+% qq!" onChange="fchanged(this)">!; #after 1.7.2
% } elsif ( $href->{$field}{'type'} eq 'checkbox' ) {
% $html .= qq!{$field}{'type'} eq 'select_multiple';
-% $html .= qq! NAME="$field">!;
+% $html .= qq! NAME="$field" onChange="fchanged(this)">!; # after 1.7.2
%
% if ( $href->{$field}{'select_table'} ) {
% foreach my $record (
@@ -362,7 +364,7 @@ Reseller information
% ? ' SELECTED'
% : ''
% ).
-% '>'. $value;
+% '">'. $value;
% }
%
% } else {
@@ -383,7 +385,7 @@ Reseller information
%
% $html .= '';
+% '" onClick="fchanged(this)">'; #after 1.7.2
%
% $html;
%