From 6afd5563cebcc4936f044b6cdef428e8f798f583 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 30 Dec 2015 16:20:51 -0800 Subject: [PATCH] minor UI fix for future package change + advance billing, #37870 --- httemplate/view/cust_main/packages/status.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html index 7c4b270bf..4c612f514 100644 --- a/httemplate/view/cust_main/packages/status.html +++ b/httemplate/view/cust_main/packages/status.html @@ -133,7 +133,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 ) %> @@ -277,15 +277,17 @@ % } % } -% # suspension actions--always available -% if ( $curuser->access_right('Suspend customer package') ) { - ( <% pkg_suspend_link($cust_pkg) %> ) -% } -% if ( $curuser->access_right('Suspend customer package later') ) { - ( <% pkg_adjourn_link($cust_pkg) %> ) -% } -% if ( $curuser->access_right('Delay suspension events') ) { - ( <% pkg_delay_link($cust_pkg) %> ) +% if ( !$change_from ) { +% # suspension actions--always available +% if ( $curuser->access_right('Suspend customer package') ) { + ( <% pkg_suspend_link($cust_pkg) %> ) +% } +% if ( $curuser->access_right('Suspend customer package later') ) { + ( <% pkg_adjourn_link($cust_pkg) %> ) +% } +% if ( $curuser->access_right('Delay suspension events') ) { + ( <% pkg_delay_link($cust_pkg) %> ) +% } % } % % if ( $change_from or $cust_pkg->change_to_pkgnum ) { -- 2.11.0