summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-08 22:43:27 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-08 22:43:27 -0700
commit4db3780dd49caf7b84e48fe1cfc72f1d13f1282c (patch)
treeee185856a7013c58f56bf3fe6dd74ef67c716571 /httemplate/view
parent98aa4355cb0a31f97cdbeabb6c190c908ba355a0 (diff)
per-package flags to override package def level suspend_bill flag, RT#18376
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/packages/status.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html
index 28df9da95..47ef1bcb7 100644
--- a/httemplate/view/cust_main/packages/status.html
+++ b/httemplate/view/cust_main/packages/status.html
@@ -58,7 +58,12 @@
<% pkg_status_row_changed( $cust_pkg, %opt, 'colspan'=>$colspan ) %>
<% pkg_status_row_if( $cust_pkg, $last_bill_or_renewed, 'last_bill', %opt, curuser=>$curuser ) %>
-% if ( $part_pkg->option('suspend_bill', 1) ) {
+% if ( $cust_pkg->option('suspend_bill', 1)
+% || ( $part_pkg->option('suspend_bill', 1)
+% && ! $cust_pkg->option('no_suspend_bill',1)
+% )
+% )
+% {
<% pkg_status_row_if( $cust_pkg, emt('Next bill'), 'bill', %opt, curuser=>$curuser ) %>
% }
<% pkg_status_row_if( $cust_pkg, emt('Will resume'), 'resume', %opt, curuser=>$curuser ) %>