diff options
author | jeff <jeff> | 2007-06-26 15:37:19 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-06-26 15:37:19 +0000 |
commit | c8f56207c0c8ee26b62824064e59d5952c20f70b (patch) | |
tree | fb0ebf505a870db499ae7517a1beae6c72febe23 /httemplate/view/cust_main/packages.html | |
parent | bd8582f48b90a63c17a568e4a395a82fe4f9277e (diff) |
suspend later just like expire (#1487)
Diffstat (limited to 'httemplate/view/cust_main/packages.html')
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 20 |
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 </TD> + <% pkg_datestr($cust_pkg, 'adjourn', $conf) %> + </TR> +% } % if ( $cust_pkg->get('expire') ) { <TR> @@ -315,6 +322,10 @@ Current packages ( <% pkg_suspend_link($cust_pkg) %> ) % } +% if ( $curuser->access_right('Suspend customer package later') ) { + + ( <% pkg_adjourn_link($cust_pkg) %> ) +% } % if ( $curuser->access_right('Cancel customer package immediately') ) { ( <% pkg_cancel_link($cust_pkg) %> ) @@ -489,7 +500,7 @@ Current packages %sub pkg_change_link { pkg_link('misc/change_pkg', 'Change package', @_ ); } % %sub pkg_suspend_link { pkg_popup_link( 'misc/cancel_pkg.html?method=suspend', -% 'Suspend', +% 'Suspend now', % 'Suspend', % @_ % ); @@ -505,6 +516,13 @@ Current packages % @_ % ); % } +%sub pkg_adjourn_link { pkg_popup_link( 'misc/cancel_pkg.html?method=adjourn', +% 'Suspend later', +% 'Adjourn', +% @_ +% ); +% } +% %sub pkg_expire_link { pkg_popup_link( 'misc/cancel_pkg.html?method=expire', % 'Cancel later', % 'Expire', #"Cancel package $num later" |