X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FShowSimplifiedRecipients;h=fcfb28484374e9782e7ab32cc2863d3e040cceeb;hb=de9d037528895f7151a9aead6724ce2df95f9586;hp=ad8053e1ea8d16f085c8e4cd2cbdb027f1cb6046;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;p=freeside.git diff --git a/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients b/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients index ad8053e1e..fcfb28484 100644 --- a/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients +++ b/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -64,14 +64,6 @@ if ($Object->Scrips) { } } } -if ($Object->Rules) { - for my $rule (grep {$_->{hints} and $_->{hints}{class} eq "SendEmail"} @{$Object->Rules}) { - for my $type (qw(To Cc Bcc)) { - $headers{$type}{$_} ||= @{[Email::Address->parse($_)]}[0] # Hate list context - for @{$rule->{hints}{recipients}{$type}}; - } - } -} my %recips; my %squelched = ProcessTransactionSquelching( \%ARGS ); @@ -95,8 +87,9 @@ my %squelched = ProcessTransactionSquelching( \%ARGS ); % } % $m->callback( CallbackName => 'AfterRecipients', TicketObj => $TicketObj ); -(Uncheck boxes to disable notifications to the listed -recipients. Does not change who will receive future -updates.) +

+<&|/l, RT->Config->Get('WebPath')."/Ticket/ModifyPeople.html?id=".$TicketObj->Id, +&>Uncheck boxes to disable notifications to the listed recipients for this transaction only; persistent squelching is managed on the People page. +

% $m->notes("DryRun-Recipients-".$TicketObj->Id, \%recips);