From 4aa7ddaf3e491d34a8caaa7869ccd83dc6d50d52 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 27 Feb 2014 00:29:17 -0800 Subject: agent-virt "email a notice to this customer" from address, RT#27424 --- httemplate/misc/email-customers.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'httemplate/misc/email-customers.html') diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index b47f4414f..de800ec6d 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -109,7 +109,7 @@ Template: <& /elements/input-text.html, 'field' => 'from_addr', 'type' => 'email', # HTML5, woot - 'value' => $conf->config('invoice_from'), + 'value' => $conf->config('invoice_from', $agent_virt_agentnum), 'size' => 20, &>> @@ -154,7 +154,10 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices'); my $conf = FS::Conf->new; + my $table = $cgi->param('table') or die "'table' required"; +my $agent_virt_agentnum = $cgi->param('agent_virt_agentnum') || ''; + my %search; if ( $cgi->param('search') ) { %search = %{ thaw(decode_base64($cgi->param('search'))) }; -- cgit v1.2.1