X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2F_send_email_dialog.html;h=23cc1a9f7225e41aa397e78aa75f40a1f816c464;hb=e3dfdb7a78f6e0bc8ac1075fedc36f8247c6fd92;hp=36713ea4ac9c6a571fd1a77f6b173d4fe0a4a710;hpb=bcc18db1e4de520a6d6d1ce0378516b2c390ee81;p=kivitendo-erp.git
diff --git a/templates/webpages/common/_send_email_dialog.html b/templates/webpages/common/_send_email_dialog.html
index 36713ea4a..23cc1a9f7 100644
--- a/templates/webpages/common/_send_email_dialog.html
+++ b/templates/webpages/common/_send_email_dialog.html
@@ -40,6 +40,13 @@
+ [%- IF ALL_EMPLOYEES.size %]
+
+ [% LxERP.t8("CC to Employee") %] |
+ [% L.select_tag('email_form.cc_employee', ALL_EMPLOYEES, value_key='login' title_key='safe_name', with_empty=1, style=style) %] |
+
+ [%- END %]
+
[% LxERP.t8("Cc") %] |
[% L.input_tag("email_form.cc", email_form.cc, size="80") %] |
@@ -61,7 +68,7 @@
[% LxERP.t8("Message") %]
[% L.link("generictranslations.pl?action=edit_email_strings", "1)", title=LxERP.t8('Tired of copying always nice phrases for this message? Click here to use the new preset message option!'), target="_blank") %]
|
- [% L.textarea_tag("email_form.message", email_form.message, rows="15" cols="80" wrap="soft") %] |
+ [% L.textarea_tag("email_form.message", email_form.message, rows="15", cols="80", class="texteditor") %] |
[% IF INSTANCE_CONF.get_doc_storage %]
@@ -70,8 +77,8 @@
[% SET no_file_label = have_files ? LxERP.t8("Don't include a printout of the record with the email, only selected files") : LxERP.t8("Don't include a printout of the record with the email") ;
options = [
+ [ "old_file", LxERP.t8("Send the last or create the first version for this record") ],
[ "normal", LxERP.t8("Create and send a new printout for this record") ],
- [ "old_file", LxERP.t8("Send the last printout created for this record") ],
[ "no_file", no_file_label ],
] ;
L.select_tag("email_form.attachment_policy", options, onchange="kivi.SalesPurchase.activate_send_email_actions_regarding_printout()") %]
@@ -103,6 +110,10 @@
files = FILES.part_files
checked = INSTANCE_CONF.get_email_attachment_part_files_checked
label = LxERP.t8("Files from parts") %]
+
+ [% PROCESS attach_file_list
+ files = FILES.project_files
+ label = LxERP.t8("Files from projects") %]
[% END %]
@@ -110,6 +121,6 @@
- [% L.button_tag(email_form.js_send_function, LxERP.t8("Send email")) %]
+ [% L.button_tag(email_form.js_send_function, LxERP.t8("Send email"), id='send_email') %]
[% L.button_tag("\$('#send_email_dialog').dialog('close');", LxERP.t8("Abort")) %]
|