projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#20687: Future package change [bug fix]
[freeside.git]
/
httemplate
/
elements
/
email-link.html
diff --git
a/httemplate/elements/email-link.html
b/httemplate/elements/email-link.html
index
692e5bc
..
2612faa
100644
(file)
--- a/
httemplate/elements/email-link.html
+++ b/
httemplate/elements/email-link.html
@@
-1,9
+1,10
@@
% if ( $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices') ) {
% if ( $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices') ) {
-<A HREF="<%$p%>misc/email-customers.html?table=<%$table%>&<%$query%>"><%$label%></A>
+<A HREF="<%$p%>misc/email-customers.html?table=<%$table%>&
agent_virt_agentnum=<%$agent_virt_agentnum%>&
<%$query%>"><%$label%></A>
% }
<%init>
my %opt = @_;
my $table = $opt{'table'};
% }
<%init>
my %opt = @_;
my $table = $opt{'table'};
+my $agent_virt_agentnum = $opt{'agent_virt_agentnum'};
my $search_hash = $opt{'search_hash'};
die "'table' required" if !$table;
die "'search_hash' required" if !$search_hash;
my $search_hash = $opt{'search_hash'};
die "'table' required" if !$table;
die "'search_hash' required" if !$search_hash;