X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/53593baa211863fbf66540cf1bcc36c8fb37257f..HEAD:/templates/webpages/common/_send_email_dialog.html diff --git a/templates/webpages/common/_send_email_dialog.html b/templates/webpages/common/_send_email_dialog.html index 487943c6c..bf4ccd9ff 100644 --- a/templates/webpages/common/_send_email_dialog.html +++ b/templates/webpages/common/_send_email_dialog.html @@ -23,6 +23,10 @@ [% END %] [% END %] +[%- IF is_final_version %] +
+[%- END %] +| [% 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", class="texteditor texteditor-space-for-toolbar") %] | +[% L.textarea_tag("email_form.message", email_form.message, style="height:150px", class="texteditor texteditor-space-for-toolbar") %] |
|---|---|---|
| [% LxERP.t8("Send printout of record") %] | - [% 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 = [ + [% 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") %] + [%- IF is_final_version %] + [% options = [ + [ "old_file", LxERP.t8("Send the last version for this record") ], + [ "no_file", no_file_label ], + ] %] + [%- ELSE %] + [% 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") ], [ "no_file", no_file_label ], - ] ; - L.select_tag("email_form.attachment_policy", options, onchange="kivi.SalesPurchase.activate_send_email_actions_regarding_printout()") %] + ] %] + [%- END %] + [% L.select_tag("email_form.attachment_policy", options, onchange="kivi.SalesPurchase.activate_send_email_actions_regarding_printout()") %] |