summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi9
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'),