From: Mark Wells Date: Thu, 31 Dec 2015 00:20:51 +0000 (-0800) Subject: minor UI fix for future package change + advance billing, #37870 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=6afd5563cebcc4936f044b6cdef428e8f798f583 minor UI fix for future package change + advance billing, #37870 --- 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 ) {