projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e18e64d
)
safety improvement to RT#9947
author
mark
<mark>
Wed, 3 Nov 2010 01:04:46 +0000
(
01:04
+0000)
committer
mark
<mark>
Wed, 3 Nov 2010 01:04:46 +0000
(
01:04
+0000)
httemplate/edit/bulk-cust_pkg.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/bulk-cust_pkg.html
b/httemplate/edit/bulk-cust_pkg.html
index
ab41921
..
2ff38ca
100644
(file)
--- a/
httemplate/edit/bulk-cust_pkg.html
+++ b/
httemplate/edit/bulk-cust_pkg.html
@@
-4,7
+4,7
@@
<% include('/elements/progress-init.html',
'OneTrueForm',
<% 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',
)
'process/bulk-cust_pkg.cgi',
$p.'browse/part_pkg.cgi',
)
@@
-12,7
+12,8
@@
<SCRIPT TYPE="text/javascript">
function areyousure() {
<SCRIPT TYPE="text/javascript">
function areyousure() {
- if(confirm('Change these packages?')) {
+ var warning = 'Change these packages?';
+ if(confirm(warning)) {
process();
}
}
process();
}
}
@@
-34,9
+35,6
@@
Change <B><% $src_part_pkg->pkg_comment %></B><BR>
to new package definition
<SELECT NAME="new_pkgpart">
% foreach my $dest_part_pkg ( qsearch('part_pkg', { 'disabled' => '' } ) ) {
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 %>
% }
<OPTION VALUE="<% $dest_part_pkg->pkgpart %>"><% $dest_part_pkg->pkgpart %>: <% $dest_part_pkg->pkg %>
% }
@@
-44,9
+42,9
@@
to new package definition
</SELECT>
<BR>
<BR>
</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()">
<INPUT TYPE="button" VALUE="Bulk change packages" onclick="areyousure()">