summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-12-30 16:20:51 -0800
committerMark Wells <mark@freeside.biz>2015-12-30 16:21:07 -0800
commit8d41520e7b5f1b54ae321d8c2de25249a2856833 (patch)
tree7cadc35d78ffbc70991462064fc559889a3be88f /httemplate/view
parentcbbd50ee14704f15c2f7c390ba0ee03b8b0175c4 (diff)
minor UI fix for future package change + advance billing, #37870
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/packages/status.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html
index aa5320bd8..d76c9795f 100644
--- a/httemplate/view/cust_main/packages/status.html
+++ b/httemplate/view/cust_main/packages/status.html
@@ -136,7 +136,7 @@
% if ( $change_from ) { # future change
%
<% pkg_status_row_colspan( $cust_pkg, emt('Waiting for package change'), '', %opt ) %>
- <% pkg_status_row( $cust_pkg,
+ <% pkg_status_row_if( $cust_pkg,
emt('Will be activated on'),
'start_date',
%opt ) %>
@@ -284,8 +284,9 @@
% }
% }
-% if ( !$supplemental ) {
-% # suspension actions--always available
+% if ( !$supplemental and !$change_from ) {
+% # suspension actions--always available for a package that's
+% # independently active
% if ( $curuser->access_right('Suspend customer package') ) {
(&nbsp;<% pkg_suspend_link($cust_pkg) %>&nbsp;)
% }