summaryrefslogtreecommitdiff
path: root/httemplate/misc/cancel_pkg.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-08 22:43:19 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-08 22:43:19 -0700
commit7c9d0e84f7cdf6cd6af3dea9399f2ad30015875f (patch)
tree3efe38bead6f579c0394498dbcf60d84bf09c42a /httemplate/misc/cancel_pkg.html
parentb3d471fc5a646dc0197dd177873899e5b240ea33 (diff)
per-package flags to override package def level suspend_bill flag, RT#18376
Diffstat (limited to 'httemplate/misc/cancel_pkg.html')
-rwxr-xr-xhttemplate/misc/cancel_pkg.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html
index 348f0a6cb..f9a46a898 100755
--- a/httemplate/misc/cancel_pkg.html
+++ b/httemplate/misc/cancel_pkg.html
@@ -62,7 +62,19 @@
&>
% }
-% if ( ( $method eq 'adjourn' or $method eq 'suspend' ) and
+% if ( $method eq 'adjourn' || $method eq 'suspend' ) {
+ <TR><TD COLSPAN=2>
+% if ( $part_pkg->option('suspend_bill', 1) ) {
+ <& /elements/checkbox.html, name=>'no_suspend_bill', value=>'Y' &>
+ Disable recurring billing while suspended
+% } else {
+ <& /elements/checkbox.html, name=>'suspend_bill', value=>'Y' &>
+ Continue recurring billing while suspended
+% }
+ </TD></TR>
+% }
+
+% if ( ( $method eq 'adjourn' || $method eq 'suspend' ) and
% $curuser->access_right('Unsuspend customer package') ) { #later?
% my $resume_date = $cgi->param('error')
% ? str2time($cgi->param('resume_date'))