projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix diabled package optional reporting classes still selectable on package def edit...
[freeside.git]
/
httemplate
/
edit
/
cust_pkg.cgi
diff --git
a/httemplate/edit/cust_pkg.cgi
b/httemplate/edit/cust_pkg.cgi
index
ecc2119
..
dd1ed33
100755
(executable)
--- a/
httemplate/edit/cust_pkg.cgi
+++ b/
httemplate/edit/cust_pkg.cgi
@@
-3,15
+3,12
@@
<% include('/elements/error.html') %>
<FORM ACTION="<% $p1 %>process/cust_pkg.cgi" METHOD=POST>
<% include('/elements/error.html') %>
<FORM ACTION="<% $p1 %>process/cust_pkg.cgi" METHOD=POST>
-
+<INPUT TYPE="hidden" NAME="action" VALUE="bulk">
<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
-%
+
%#current packages
%my @cust_pkg = qsearch('cust_pkg', { 'custnum' => $custnum, 'cancel' => '' } );
%#current packages
%my @cust_pkg = qsearch('cust_pkg', { 'custnum' => $custnum, 'cancel' => '' } );
-%
%if (@cust_pkg) {
%if (@cust_pkg) {
-%
-
Current packages - select to remove (services are moved to a new package below)
<TABLE>
Current packages - select to remove (services are moved to a new package below)
<TABLE>
@@
-131,10
+128,10
@@
my %all_comment = ();
#}
foreach (qsearch('part_pkg', {} )) {
$all_pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
#}
foreach (qsearch('part_pkg', {} )) {
$all_pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
- $all_comment{ $_ -> getfield('pkgpart') } = $_->
getfield('comment')
;
+ $all_comment{ $_ -> getfield('pkgpart') } = $_->
custom_comment
;
next if $_->disabled;
$pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
next if $_->disabled;
$pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
- $comment{ $_ -> getfield('pkgpart') } = $_->
getfield('comment')
;
+ $comment{ $_ -> getfield('pkgpart') } = $_->
custom_comment
;
}
my($custnum, %remove_pkg);
}
my($custnum, %remove_pkg);
@@
-151,4
+148,3
@@
if ( $cgi->param('error') ) {
my $p1 = popurl(1);
</%init>
my $p1 = popurl(1);
</%init>
-