X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fedit_periodic_invoices_config.html;h=8ee4952afa232ad045bc74b85cdd24674c2f05e1;hb=491a3c27055cabce59b4d93a6e389a59125eeef7;hp=c469a02cebdba70e153c347425e9304730564e73;hpb=89c9ff022d3f13e27ba6bda085df15707fcfb0eb;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 c469a02ce..8ee4952af 100644 --- a/templates/webpages/oe/edit_periodic_invoices_config.html +++ b/templates/webpages/oe/edit_periodic_invoices_config.html @@ -1,9 +1,8 @@ [% USE HTML %] [% USE LxERP %] [% USE L %] - - -
[% title %]
+[% SET style="width: 400px" %] +

[% title %]

@@ -22,13 +21,19 @@ - [%- LxERP.t8('Periodicity') %] + [%- LxERP.t8('Billing Periodicity') %] + + [% L.select_tag("periodicity", [ [ "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.radio_button_tag("periodicity", value => "m", label => LxERP.t8("monthly"), checked => periodicity == 'm') %] -
- [% L.radio_button_tag("periodicity", value => "q", label => LxERP.t8("quarterly"), checked => periodicity == 'q') %] -
- [% L.radio_button_tag("periodicity", value => "y", label => LxERP.t8("yearly"), checked => periodicity == 'y') %] + [% 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) %] @@ -46,6 +51,13 @@ + + [%- 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') %] @@ -56,10 +68,15 @@ [%- LxERP.t8('Record in') %] - [% L.select_tag("ar_chart_id", L.options_for_select(AR, title => 'description', default => ar_chart_id)) %] + [% 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') %] @@ -70,7 +87,7 @@ [%- LxERP.t8('Printer') %] - [% L.select_tag("printer_id", L.options_for_select(ALL_PRINTERS, title => 'printer_description', default => printer_id), disabled => !print) %] + [% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = printer_id, disabled = !print, style=style) %] @@ -84,6 +101,7 @@

(1): [%- LxERP.t8('The end date is the last day for which invoices will possibly be created.') %]

+

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

[% L.hidden_tag('action', 'save_periodic_invoices_config') %] @@ -96,12 +114,9 @@ - - -