From 0bd6fd8b74c3cb6a7abf01ba5974d2d9399da3ab Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 21 Oct 2019 12:20:00 -0700 Subject: bulk package cancellation --- httemplate/search/cust_pkg.cgi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'httemplate/search') 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, ). '
' 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', + ). '
' 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'), -- cgit v1.2.1