minor UI fix for future package change + advance billing, #37870
authorMark Wells <mark@freeside.biz>
Thu, 31 Dec 2015 00:20:51 +0000 (16:20 -0800)
committerMark Wells <mark@freeside.biz>
Thu, 31 Dec 2015 00:20:51 +0000 (16:20 -0800)
httemplate/view/cust_main/packages/status.html

index aa5320b..d76c979 100644 (file)
 %     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 ) %>
 %               }
 %           }
 
-%           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;)
 %             }