summaryrefslogtreecommitdiff
path: root/httemplate
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:28:52 -0800
commit6afd5563cebcc4936f044b6cdef428e8f798f583 (patch)
tree7cbfc049e6d1548ba757fd14bf7d75c6da796ada /httemplate
parent152c54a5c8277fb09429d6ded83535edd0a914f2 (diff)
minor UI fix for future package change + advance billing, #37870
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/packages/status.html22
1 files 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') ) {
- (&nbsp;<% pkg_suspend_link($cust_pkg) %>&nbsp;)
-% }
-% if ( $curuser->access_right('Suspend customer package later') ) {
- (&nbsp;<% pkg_adjourn_link($cust_pkg) %>&nbsp;)
-% }
-% if ( $curuser->access_right('Delay suspension events') ) {
- (&nbsp;<% pkg_delay_link($cust_pkg) %>&nbsp;)
+% if ( !$change_from ) {
+% # suspension actions--always available
+% if ( $curuser->access_right('Suspend customer package') ) {
+ (&nbsp;<% pkg_suspend_link($cust_pkg) %>&nbsp;)
+% }
+% if ( $curuser->access_right('Suspend customer package later') ) {
+ (&nbsp;<% pkg_adjourn_link($cust_pkg) %>&nbsp;)
+% }
+% if ( $curuser->access_right('Delay suspension events') ) {
+ (&nbsp;<% pkg_delay_link($cust_pkg) %>&nbsp;)
+% }
% }
%
% if ( $change_from or $cust_pkg->change_to_pkgnum ) {