X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fedit_periodic_invoices_config.html;h=94aeb5ba385325744bbb62f0b464969f8b08492c;hb=f4da9593b8f91ae5d57437ed124f9c9d859bc698;hp=e563d39e3876a1abedc1b822879013236786035e;hpb=13412f21e0093c7940597934cba407cb2fd27505;p=kivitendo-erp.git diff --git a/templates/webpages/oe/edit_periodic_invoices_config.html b/templates/webpages/oe/edit_periodic_invoices_config.html index e563d39e3..94aeb5ba3 100644 --- a/templates/webpages/oe/edit_periodic_invoices_config.html +++ b/templates/webpages/oe/edit_periodic_invoices_config.html @@ -2,9 +2,24 @@ [% USE LxERP %] [% USE L %] [% SET style="width: 400px" %] + +[%- IF !popup_dialog -%]

[% title %]

+[%- END -%]
+ [%- IF popup_dialog -%] + [% L.button_tag(popup_js_assign_function, LxERP.t8('Assign')) %] + [% L.button_tag(popup_js_close_function, LxERP.t8('Cancel')) %] + + [%- ELSE -%] + [% L.hidden_tag('action', 'save_periodic_invoices_config') %] + +

+ [% L.submit_tag('', LxERP.t8('Assign')) %] + [% L.submit_tag('', LxERP.t8('Cancel'), onclick => "self.close(); return false;") %] +

+ [%- END -%]

@@ -87,20 +102,23 @@ - + - + + + + + - @@ -123,7 +141,7 @@ - +
[%- LxERP.t8('Printer') %] - [% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = config.printer_id, disabled = !config.print, style=style) %] + [% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = config.printer_id, disabled = !config.print, id = "pic_printer_id", style=style) %]
[%- LxERP.t8('Copies') %][% L.input_tag("copies", config.copies, size => 6, disabled => !config.print) %][% L.input_tag("copies", config.copies, size => 6, disabled => !config.print, id = "pic_copies") %]
[%- LxERP.t8("Send invoice via email") %][% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=config.send_email) %][% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=config.send_email, disabled=postal_invoice) %]
[%- LxERP.t8("Email of the invoice recipient") %][% email_recipient_invoice_address %]
[%- LxERP.t8("Contact to send to") %] [% L.select_tag("email_recipient_contact_id", ALL_CONTACTS, title_key="full_name_dep", value_key="cp_id", default=config.email_recipient_contact_id, with_empty=1, disabled=!config.send_email, style=style) %]
[%- LxERP.t8("Message") %][% L.textarea_tag("email_body", config.email_body, disabled=!config.send_email, rows=8, style=style) %][% L.textarea_tag("email_body", config.email_body, disabled=!config.send_email, rows=8, style=style, class="texteditor texteditor-space-for-toolbar") %]

@@ -134,21 +152,14 @@

(2): [% LxERP.t8("If missing then the start date will be used.") %]

(3): [% LxERP.t8("Multiple addresses can be entered separated by commas.") %]

(4): [% LxERP.t8("If left empty the default sender from the kivitendo configuration will be used (key 'email_from' in section 'periodic_invoices'; current value: #1).", HTML.escape(LXCONFIG.periodic_invoices.email_from)) %]

- - [% L.hidden_tag('action', 'save_periodic_invoices_config') %] - -

- [% L.submit_tag('', LxERP.t8('Assign')) %] - [% L.submit_tag('', LxERP.t8('Cancel'), onclick => "self.close(); return false;") %] -