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:20:51 -0800
commit44e840908ac339de1c9d430e9565e03d4bfa5ec3 (patch)
tree6601e56aa97a25c67f0925b4459cf2334cd35e7c /httemplate/view
parent5a0e11b8136c2138b8044c3d1343b9ae4fafd38c (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;)
% }