summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages.html
diff options
context:
space:
mode:
authorjeff <jeff>2007-06-26 15:37:19 +0000
committerjeff <jeff>2007-06-26 15:37:19 +0000
commitc8f56207c0c8ee26b62824064e59d5952c20f70b (patch)
treefb0ebf505a870db499ae7517a1beae6c72febe23 /httemplate/view/cust_main/packages.html
parentbd8582f48b90a63c17a568e4a395a82fe4f9277e (diff)
suspend later just like expire (#1487)
Diffstat (limited to 'httemplate/view/cust_main/packages.html')
-rwxr-xr-xhttemplate/view/cust_main/packages.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 98acb8685..5890726ae 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -299,6 +299,13 @@ Current packages
<% pkg_datestr($cust_pkg, 'bill', $conf) %>
</TR>
% }
+% if ( $cust_pkg->get('adjourn') ) {
+
+ <TR>
+ <TD WIDTH="<%$width%>" ALIGN="right">Adjourns&nbsp;</TD>
+ <% pkg_datestr($cust_pkg, 'adjourn', $conf) %>
+ </TR>
+% }
% if ( $cust_pkg->get('expire') ) {
<TR>
@@ -315,6 +322,10 @@ Current packages
(&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('Cancel customer package immediately') ) {
(&nbsp;<% pkg_cancel_link($cust_pkg) %>&nbsp;)
@@ -489,7 +500,7 @@ Current packages
%sub pkg_change_link { pkg_link('misc/change_pkg', 'Change&nbsp;package', @_ ); }
%
%sub pkg_suspend_link { pkg_popup_link( 'misc/cancel_pkg.html?method=suspend',
-% 'Suspend',
+% 'Suspend&nbsp;now',
% 'Suspend',
% @_
% );
@@ -505,6 +516,13 @@ Current packages
% @_
% );
% }
+%sub pkg_adjourn_link { pkg_popup_link( 'misc/cancel_pkg.html?method=adjourn',
+% 'Suspend&nbsp;later',
+% 'Adjourn',
+% @_
+% );
+% }
+%
%sub pkg_expire_link { pkg_popup_link( 'misc/cancel_pkg.html?method=expire',
% 'Cancel&nbsp;later',
% 'Expire', #"Cancel package $num later"