diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-07-08 22:43:27 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-08 22:43:27 -0700 |
commit | 4db3780dd49caf7b84e48fe1cfc72f1d13f1282c (patch) | |
tree | ee185856a7013c58f56bf3fe6dd74ef67c716571 /httemplate/misc/cancel_pkg.html | |
parent | 98aa4355cb0a31f97cdbeabb6c190c908ba355a0 (diff) |
per-package flags to override package def level suspend_bill flag, RT#18376
Diffstat (limited to 'httemplate/misc/cancel_pkg.html')
-rwxr-xr-x | httemplate/misc/cancel_pkg.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html index 4b5df8654..42cc56dfe 100755 --- a/httemplate/misc/cancel_pkg.html +++ b/httemplate/misc/cancel_pkg.html @@ -31,7 +31,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')) |