X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-customers.html;h=dc53f6d5527f1d057bf0f469710265f595657c5c;hp=8e2863455a2df5bb2115ce8e72624cec46f5dde8;hb=4747bfbea3f4abb66d05a2bd1abed69e28a4aa3d;hpb=fc672686f119da0b3b34fd3c73acc3fea81262e6
diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html
index 8e2863455..dc53f6d55 100644
--- a/httemplate/misc/email-customers.html
+++ b/httemplate/misc/email-customers.html
@@ -7,8 +7,8 @@ selecting an existing msg_template, or creating a custom message, and shows a
preview of the message before sending. If linked to as a popup, include the
cgi parameter 'popup' for proper header handling.
-This may also be used as an element in other pages, enabling you to provide an
-alternate initial form while using this for search freezing/thawing and
+This may also be used as an element in other pages, enabling you to provide
+an alternate initial form while using this for search freezing/thawing and
preview/send actions, with the following options:
acl - the access right to use (defaults to 'Bulk send customer notices')
@@ -48,6 +48,7 @@ from/subject/body cgi params
+
% if ( $cgi->param('preview') ) {
% # preview mode: at this point we have a msg_template (either "real" or
@@ -57,7 +58,7 @@ from/subject/body cgi params
Preview notice
<& /elements/progress-init.html,
'OneTrueForm',
- [ qw( search table msgnum ) ],
+ [ qw( search table msgnum to_contact_classnum emailtovoice_contact custnum ) ],
$process_url,
$pdest,
&>
@@ -66,8 +67,10 @@ from/subject/body cgi params
% # kludge these through hidden inputs because they're not really part
% # of the template, but should be sticky during draft editing
-
-
+
+
+
+
% if ( !$msg_template->disabled ) {
<& /elements/tr-td-label.html, 'label' => 'Template:' &>
@@ -79,6 +82,10 @@ from/subject/body cgi params