From a5148c7aabd33464432f9355d7cddf12c2147054 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 11 Jul 2015 00:23:40 -0700 Subject: UI for emailing customer statements on v4, RT#34078 --- httemplate/misc/email-customers.html | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) (limited to 'httemplate/misc/email-customers.html') diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index 57f451fdc..0c90b07e7 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -29,15 +29,14 @@ gets passed options 'conf' and 'search' (a reference to the unfrozen %search has should be used to set msgnum or from/subject/html_body cgi params - % if ($popup) { -<% include('/elements/header-popup.html', $title) %> +<& /elements/header-popup.html, $title &> % } else { -<% include('/elements/header.html', $title) %> +<& /elements/header.html, $title &> % } -
+ %# Mixing search params with from address, subject, etc. required special-case %# handling of those, risked name conflicts, and caused massive problems with @@ -67,7 +66,7 @@ should be used to set msgnum or from/subject/html_body cgi params % if ( $cgi->param('action') ) { - +
% if ( $msg_template ) { @@ -93,6 +92,7 @@ should be used to set msgnum or from/subject/html_body cgi params %> + @@ -104,10 +104,12 @@ should be used to set msgnum or from/subject/html_body cgi params % ) % ); + @@ -117,6 +119,19 @@ should be used to set msgnum or from/subject/html_body cgi params % if ( $cgi->param('action') eq 'preview' ) {
 
Message (HTML display): <% $html_body %>
 
Message (Text display): - - click to view + + (view) +