X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-customers.html;h=201aed42835b8bd9c7fae029c3a487b58b14ae9d;hb=2b96da0344fe5f46caf80257890312de444d935b;hp=f644db9e9db089d4b718042467f2445fec016274;hpb=c33e009d50f9af054a5a0195eca5df31c4fb9539;p=freeside.git diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index f644db9e9..201aed428 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -4,7 +4,7 @@ % foreach my $key ( keys %search ) { % my @values = ref($search{$key}) ? @{$search{$key}} : ( $search{$key} ); % foreach my $value ( @values ) { - + % } % } @@ -47,7 +47,7 @@ Message (HTML display): - <% $cgi->param('html_body') %> + <% $cgi->param('html_body') %> % my $text_body = HTML::FormatText->new(leftmargin=>0)->format( @@ -58,7 +58,7 @@ Message (Text display): -
<% $text_body %>
+
<% $text_body %>
@@ -132,7 +132,7 @@ my $title = 'Bulk send customer notices'; my $num_cust; if ( $cgi->param('magic') eq 'preview' ) { - my $sql_query = FS::cust_main->search_sql(\%search); + my $sql_query = FS::cust_main->search(\%search); my $count_query = delete($sql_query->{'count_query'}); my $count_sth = dbh->prepare($count_query) or die "Error preparing $count_query: ". dbh->errstr;