X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FPreviewScrips;h=91e485c772453f9adbfa94169465ae20df899a8b;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=3526f31a76d2e19898e9e96c05ceb14e2fc6b9a9;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;p=freeside.git diff --git a/rt/share/html/Ticket/Elements/PreviewScrips b/rt/share/html/Ticket/Elements/PreviewScrips index 3526f31a7..91e485c77 100755 --- a/rt/share/html/Ticket/Elements/PreviewScrips +++ b/rt/share/html/Ticket/Elements/PreviewScrips @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -69,7 +69,7 @@ my %squelched = ProcessTransactionSquelching( \%ARGS ); % @{$Object->Scrips->Prepared}; % for my $scrip (@scrips) { <% $scrip->Description || loc('Scrip #[_1]',$scrip->id) %>
- <&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name)&>[_1] [_2] with template [_3] + <&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->Template)&>[_1] [_2] with template [_3]
% for my $type (qw(To Cc Bcc)) { % my @addresses = $scrip->ActionObj->Action->$type(); @@ -88,31 +88,7 @@ my %squelched = ProcessTransactionSquelching( \%ARGS ); % } % if (RT->Config->Get('PreviewScripMessages')) { - -% } -
-% } -% } - -% if ( $Object->Rules ) { -% for my $rule (@{$Object->Rules}) { -% next unless $rule->{hints} && $rule->{hints}{class} eq 'SendEmail'; - <% $rule->Describe %> -% my $data = $rule->{hints}{recipients}; -% for my $type (qw(To Cc Bcc)) { -% next unless @{$data->{$type}}; - + % }
% }