projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5a0e11b
)
minor UI fix for future package change + advance billing, #37870
author
Mark Wells
<mark@freeside.biz>
Thu, 31 Dec 2015 00:20:51 +0000
(16:20 -0800)
committer
Mark Wells
<mark@freeside.biz>
Thu, 31 Dec 2015 00:20:51 +0000
(16:20 -0800)
httemplate/view/cust_main/packages/status.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages/status.html
b/httemplate/view/cust_main/packages/status.html
index
aa5320b
..
d76c979
100644
(file)
--- 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 ) %>
% 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 ) %>
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') ) {
( <% pkg_suspend_link($cust_pkg) %> )
% }
% if ( $curuser->access_right('Suspend customer package') ) {
( <% pkg_suspend_link($cust_pkg) %> )
% }