diff options
author | Ivan Kohler <ivan@freeside.biz> | 2019-10-21 12:20:00 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2019-10-21 12:20:00 -0700 |
commit | 0bd6fd8b74c3cb6a7abf01ba5974d2d9399da3ab (patch) | |
tree | f6c8938c24bc465f1cabdefe12bf0a522aa59763 /httemplate/search/cust_pkg.cgi | |
parent | 95cffb2e514c6117fc3eb111581d387b5d0b4e77 (diff) |
bulk package cancellation
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-rwxr-xr-x | httemplate/search/cust_pkg.cgi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 3eb0332d2..3e0880fa5 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -286,6 +286,15 @@ my $html_init = sub { 'height' => 210, ). '<BR>' if $search_hash{status} eq 'suspended'; + $text .= include( '/elements/popup_link.html', + 'label' => emt('Cancel these packages'), + 'action' => "${p}misc/bulk_cancel_pkg.cgi?$query", + 'actionlabel' => emt('Cancel Packages'), + 'width' => 569, + 'height' => 210, + 'color' => '#ff0000', + ). '<BR>' unless $search_hash{status} eq 'cancelled'; + if ( $curuser->access_right('Edit customer package dates') ) { $text .= include( '/elements/popup_link.html', 'label' => emt('Increment next bill date'), |