- [% LxERP.t8("Company settings") %] |
+ [% LxERP.t8("Company name and address") %] |
[% LxERP.t8("Company name") %] |
@@ -10,13 +10,42 @@
- [% LxERP.t8("Address") %] |
- [% L.textarea_tag('defaults.address', SELF.defaults.address, style=style, rows=4) %] |
+ [% LxERP.t8("Street 1") %] |
+ [% L.input_tag('defaults.address_street1', SELF.defaults.address_street1, style=style) %] |
+
+
+
+ [% LxERP.t8("Street 2") %] |
+ [% L.input_tag('defaults.address_street2', SELF.defaults.address_street2, style=style) %] |
+
+
+
+ [% LxERP.t8("Zipcode and city") %] |
+
+ [% L.input_tag('defaults.address_zipcode', SELF.defaults.address_zipcode, size=8) %]
+ [% L.input_tag('defaults.address_city', SELF.defaults.address_city, size=30) %]
+ |
+
+
+
+ [% LxERP.t8("Country") %] |
+ [% L.input_tag('defaults.address_country', SELF.defaults.address_country, style=style) %] |
+
+
+ [% LxERP.t8("Company settings") %] |
+
+
+ [% LxERP.t8("Signature") %] |
+ [% L.textarea_tag('defaults.signature', SELF.defaults.signature, style=style, rows=4, class='texteditor') %] |
[% LxERP.t8("Tax number") %] |
+ [% IF SELF.defaults.feature_ustva %]
+ [% SELF.defaults.taxnumber %] ([% LxERP.t8("For changeing goto USTVA Config") %]) |
+ [% ELSE %]
[% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, style=style) %] |
+ [% END %]
@@ -46,6 +75,36 @@
[% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, style=style) %] |
+ [% LxERP.t8("Print templates") %] |
+
+
+ [% LxERP.t8("Print templates to use") %] |
+
+
+
+ [% L.radio_button_tag('use_templates', value='existing', id='use_templates_existing', label=LxERP.t8('Use existing templates'), checked=(FORM.use_templates == 'existing')) %] |
+ [% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, style=style) %] |
+
+
+
+ [% L.radio_button_tag('use_templates', value='new', id='use_templates_new', label=LxERP.t8('Create new templates from master templates'), checked=(FORM.use_templates == 'new')) %] |
+ [% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, style=style) %] |
+
+
+
+ [% LxERP.t8("New name") %] |
+ [% L.input_tag('new_templates', FORM.new_templates, style=style) %] |
+
+
+ |
+
+
+
+ [% LxERP.t8('Interpolate variables in texts of positions') %] |
+ [% L.yes_no_tag('defaults.print_interpolate_variables_in_positions', SELF.defaults.print_interpolate_variables_in_positions) %] |
+ [% LxERP.t8('Whether or not to replace variable placeholders such as "<%invdate%>" in texts in positions such as the part description by the record\'s actual value') %] |
+
+
[% LxERP.t8("Currencies") %] |
@@ -57,14 +116,12 @@
[% FOREACH currency = SELF.all_currencies %]
- [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %] |
-
- [% L.input_tag("currencies[].name", currency.name, style=style) %]
- |
-
- [% L.hidden_tag("currencies[+].id", currency.id) %]
- [% L.radio_button_tag('defaults.currency_id', value=currency.id, id='defaults.currency_id_' _ currency.id, checked=(SELF.defaults.currency_id == currency.id)) %]
+ |
+ [% L.hidden_tag("currencies[+].id", currency.id) %]
+ [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
|
+ [% L.input_tag("currencies[].name", currency.name, style=style) %] |
+ [% L.radio_button_tag('defaults.currency_id', value=currency.id, id='defaults.currency_id_' _ currency.id, checked=(SELF.defaults.currency_id == currency.id)) %] |
[% IF loop.count == 1 %][% LxERP.t8("Edit the currency names in order to rename them.") %][%- END %] |
[% END %]
@@ -75,6 +132,7 @@
[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %] |
+[% IF SELF.all_weightunits.size %]
[% LxERP.t8("Weight") %] |
@@ -87,6 +145,6 @@
[% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, style=style) %] |
[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %] |
+[% END %]