X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FShowSimplifiedRecipients;h=85aad45d81ab8ce0254550a76b5689ac5702a6b1;hp=a27375aa1a44d02ed6039b4303ed1332e67e5e46;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125 diff --git a/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients b/rt/share/html/Ticket/Elements/ShowSimplifiedRecipients index a27375aa1..85aad45d8 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-2013 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 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);