X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-customer-statement.html;h=20430f5b17367b7a52fe3afa2cd1a11402a2bef1;hb=3a02a1bce4190ce0d94883709e0a6c362bcb0af3;hp=92ce1c4d108efee8a2b4511695cb23217319e6a8;hpb=0ed195595b5c7ea404c8848d9d1881ada4214489;p=freeside.git diff --git a/httemplate/misc/email-customer-statement.html b/httemplate/misc/email-customer-statement.html index 92ce1c4d1..20430f5b1 100644 --- a/httemplate/misc/email-customer-statement.html +++ b/httemplate/misc/email-customer-statement.html @@ -1,15 +1,12 @@ - - <% include('email-customers.html', - 'form_action' => 'email-customer-statement.html', - 'title' => 'Send statement to customer', - 'no_search_fields' => [ 'start_date', 'end_date' ], - 'alternate_form' => $alternate_form, - 'post_search_hook' => $post_search_hook, - 'acl' => $acl, - 'process_url' => 'process/email-customer-statement.html', - ) - %> - +<& email-customers.html, + 'form_action' => 'email-customer-statement.html', + 'title' => 'Send statement to customer', + 'no_search_fields' => [ 'start_date', 'end_date' ], + 'alternate_form' => $alternate_form, + 'post_search_hook' => $post_search_hook, + 'acl' => $acl, + 'process_url' => 'process/email-customer-statement.html', +&> <%init> my $acl = 'Resend invoices'; @@ -82,7 +79,7 @@ my $post_search_hook = sub { 'history' => [ $cust_main->payment_history( map { - $_ => parse_datetime($cgi->param($_)) + $_ => parse_datetime(scalar($cgi->param($_))) } qw( start_date end_date ), ),