diff options
author | jeff <jeff> | 2008-09-26 03:56:40 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-09-26 03:56:40 +0000 |
commit | 379126e33ddb448bd6d66a296f5b4f6afd37bf7a (patch) | |
tree | 45ac9248a9028b57680702aa8710daa342dcd43c /httemplate/view | |
parent | e090a93a6ea4df4a8abc4a7cb5f461e5f2753a2a (diff) |
push out event triggered suspensions
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 5c086f225..63e31dda4 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -392,6 +392,9 @@ Current packages % if ( $curuser->access_right('Suspend customer package later') ) { ( <% pkg_adjourn_link($cust_pkg) %> ) % } +% if ( $curuser->access_right('Delay suspension events') ) { + ( <% pkg_delay_link($cust_pkg) %> ) +% } % if ( $curuser->access_right('Cancel customer package immediately') ) { ( <% pkg_cancel_link($cust_pkg) %> ) % } @@ -656,6 +659,15 @@ sub pkg_suspend_link { include( '/elements/popup_link-cust_pkg.html', ) } +sub pkg_delay_link { include( '/elements/popup_link-cust_pkg.html', + { 'action' => $p. 'misc/delay_susp_pkg.html', + 'label' => 'Delay suspend', + 'actionlabel' => 'Delay suspend for', + 'cust_pkg' => shift, + } + ) + } + sub pkg_unsuspend_link { pkg_link('misc/unsusp_pkg', 'Unsuspend', @_ ); } sub pkg_expire_link { pkg_link('misc/expire_pkg', 'Cancel later', @_ ); } sub pkg_unadjourn_link { pkg_link('misc/unadjourn_pkg', 'Abort', @_ ); } |