[% LxERP.t8('Status') %] |
[% L.checkbox_tag("active", checked => active, label => LxERP.t8('Active')) %] |
|
[% L.checkbox_tag('terminated', label => LxERP.t8('terminated'), checked => terminated) %]
|
[%- LxERP.t8('Billing Periodicity') %] |
[% L.select_tag("periodicity", [ [ "o", LxERP.t8("one time") ], [ "m", LxERP.t8("monthly") ], [ "q", LxERP.t8("every third month") ], [ "b", LxERP.t8("semiannually") ], [ "y", LxERP.t8("yearly") ] ], default=periodicity, style=style) %]
|
[%- LxERP.t8('Order value periodicity') %] |
[% L.select_tag("order_value_periodicity",
[ [ "p", LxERP.t8("same as periodicity") ], [ "m", LxERP.t8("monthly") ], [ "q", LxERP.t8("every third month") ], [ "b", LxERP.t8("semiannually") ], [ "y", LxERP.t8("yearly") ],
[ "2", LxERP.t8("2 years") ], [ "3", LxERP.t8("3 years") ], [ "4", LxERP.t8("4 years") ], [ "5", LxERP.t8("5 years") ], ],
default=order_value_periodicity, style=style) %]
|
[%- LxERP.t8('Start date') %] |
[% L.date_tag("start_date_as_date", start_date_as_date) %]
|
[%- LxERP.t8('End date') %](1) |
[% L.date_tag("end_date_as_date", end_date_as_date) %]
|
[%- LxERP.t8('Create first invoice on') %](2) |
[% L.date_tag("first_billing_date_as_date", first_billing_date_as_date) %]
|
[% LxERP.t8('Extend automatically by n months') %] |
[% L.input_tag("extend_automatically_by", extend_automatically_by, size => 10) %]
|
[%- LxERP.t8('Record in') %] |
[% L.select_tag("ar_chart_id", AR, title_key => 'description', default => ar_chart_id, style=style) %]
|
[%- LxERP.t8('direct debit') %] |
[% L.checkbox_tag("direct_debit", checked=direct_debit) %] |
[%- LxERP.t8('Print automatically') %] |
[% L.checkbox_tag("print", onclick => "toggle_printer_id_ctrl()", checked => print) %]
|
[%- LxERP.t8('Printer') %] |
[% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = printer_id, disabled = !print, style=style) %]
|
[%- LxERP.t8('Copies') %] |
[% L.input_tag("copies", copies, size => 6, disabled => !print) %] |
[%- LxERP.t8("Send invoice via email") %] |
[% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=send_email) %] |
[%- 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=email_recipient_contact_id, with_empty=1, disabled=!send_email, style=style) %] |
[%- LxERP.t8("Other recipients") %]3 |
[% L.input_tag("email_recipient_address", email_recipient_address, disabled=!send_email, style=style) %] |
[%- LxERP.t8("Sender") %]4 |
[% L.input_tag("email_sender", email_sender, disabled=!send_email, style=style) %] |
[%- LxERP.t8("Subject") %] |
[% L.input_tag("email_subject", email_subject, disabled=!send_email, style=style) %] |
[%- LxERP.t8("Message") %] |
[% L.textarea_tag("email_body", email_body, disabled=!send_email, rows=8, style=style) %] |
(1): [%- LxERP.t8('The end date is the last day for which invoices will possibly be created.') %]
(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('Close')) %]
[% L.submit_tag('', LxERP.t8('Cancel'), onclick => "self.close(); return false;") %]