X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fedit_periodic_invoices_config.html;h=6669e6cc5693f9154e7c09e73a2658d4e2016b1e;hb=0d07a683b433c3fd01b1aa94a5860c1053b0e626;hp=3e5b9b6bd6f5a4582cc6df73d0a86eb5ecbcbd24;hpb=19ee23d4cfe51c71d16681e42b28694f2af04e11;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 3e5b9b6bd..6669e6cc5 100644 --- a/templates/webpages/oe/edit_periodic_invoices_config.html +++ b/templates/webpages/oe/edit_periodic_invoices_config.html @@ -2,7 +2,10 @@ [% USE LxERP %] [% USE L %] [% SET style="width: 400px" %] + +[%- IF !popup_dialog -%]

[% title %]

+[%- END -%]
@@ -100,7 +103,10 @@ [%- LxERP.t8("Send invoice via email") %] [% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=config.send_email) %] - + + [%- 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) %] @@ -135,12 +141,18 @@

(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') %] + [%- IF popup_dialog -%] + [% L.button_tag(popup_js_assign_function, LxERP.t8('Assign')) %] + [% L.button_tag(popup_js_close_function, LxERP.t8('Cancel')) %] -

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

+ [%- 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 -%]