[freeside-commits] freeside/httemplate/edit bulk-cust_pkg.html, 1.1, 1.2
Mark Wells
mark at wavetail.420.am
Tue Nov 2 18:04:48 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv11377/httemplate/edit
Modified Files:
bulk-cust_pkg.html
Log Message:
safety improvement to RT#9947
Index: bulk-cust_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/bulk-cust_pkg.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- bulk-cust_pkg.html 3 Nov 2010 00:33:24 -0000 1.1
+++ bulk-cust_pkg.html 3 Nov 2010 01:04:46 -0000 1.2
@@ -4,7 +4,7 @@
<% include('/elements/progress-init.html',
'OneTrueForm',
- [qw( old_pkgpart new_pkgpart keep_dates)],
+ [qw( old_pkgpart new_pkgpart )],
'process/bulk-cust_pkg.cgi',
$p.'browse/part_pkg.cgi',
)
@@ -12,7 +12,8 @@
<SCRIPT TYPE="text/javascript">
function areyousure() {
- if(confirm('Change these packages?')) {
+ var warning = 'Change these packages?';
+ if(confirm(warning)) {
process();
}
}
@@ -34,9 +35,6 @@
to new package definition
<SELECT NAME="new_pkgpart">
% foreach my $dest_part_pkg ( qsearch('part_pkg', { 'disabled' => '' } ) ) {
-% # XXX probably no way to prevent packages from violating agent restrictions
-% # maybe something like what bulk-cust_svc does with changing services
-% # under specific pkgparts?
<OPTION VALUE="<% $dest_part_pkg->pkgpart %>"><% $dest_part_pkg->pkgpart %>: <% $dest_part_pkg->pkg %>
% }
@@ -44,9 +42,9 @@
</SELECT>
<BR>
<BR>
-<INPUT TYPE="checkbox" NAME="keep_dates" CHECKED> Preserve all billing dates
-<BR>
-<BR>
+%#<INPUT TYPE="checkbox" NAME="keep_dates" CHECKED> Preserve all billing dates <I>(strongly recommended)</I>
+%#<BR>
+%#<BR>
<INPUT TYPE="button" VALUE="Bulk change packages" onclick="areyousure()">
More information about the freeside-commits
mailing list