X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fclient_config%2F_miscellaneous.html;h=752bcd8169d199ed2258468837c8624e3059d29d;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=c09fa761b33a40f83db46cf2a26dcc2e336e2356;hpb=6af007aef5ff57abc085bf61c6b2d228baac7b25;p=kivitendo-erp.git diff --git a/templates/webpages/client_config/_miscellaneous.html b/templates/webpages/client_config/_miscellaneous.html index c09fa761b..752bcd816 100644 --- a/templates/webpages/client_config/_miscellaneous.html +++ b/templates/webpages/client_config/_miscellaneous.html @@ -1,54 +1,140 @@ [%- USE LxERP -%][%- USE L -%][%- USE HTML -%] -[% SET style="width: 200px" %] +[% SET style="width: 400px" %]
-
[% LxERP.t8("Miscellaneous") %]
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% IF SELF.defaults.feature_ustva %] + + [% ELSE %] + + [% END %] + + + + + + + + + + + + + + + + + + + -
[% LxERP.t8("Company name and address") %]
[% LxERP.t8("Company name") %][% L.input_tag('defaults.company', SELF.defaults.company, style=style) %]
[% 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") %][% SELF.defaults.taxnumber %]  ([% LxERP.t8("For changeing goto USTVA Config") %])[% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, style=style) %]
[% LxERP.t8("Tax ID number") %][% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, style=style) %]
[% LxERP.t8("SEPA creditor ID") %][% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, style=style) %]
[% LxERP.t8("Business Number") %] [% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, style=style) %]
[% LxERP.t8("DUNS number") %][% L.input_tag('defaults.duns', SELF.defaults.duns, style=style) %]
[% LxERP.t8("Language settings") %]
[% LxERP.t8('Default Customer/Vendor Language') %] [% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, style=style) %]
-
[% LxERP.t8("Currencies") %]
+ [% 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") %] - - + [% FOREACH currency = SELF.all_currencies %] - - - + + [% END %] - + -
[% LxERP.t8("Default currency") %] [% LxERP.t8("Currency name") %][% LxERP.t8("Default currency") %] [% LxERP.t8("Hints") %]
[% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %] - [% 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.input_tag("currencies[].name", currency.name, style=style) %] + + [% 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 %]
[% LxERP.t8("Add new currency") %][% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %] [% L.input_tag("new_currency", FORM.new_currency, style=style) %][% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %]
-
[% LxERP.t8("Weight") %]
+[% IF SELF.all_weightunits.size %] + [% LxERP.t8("Weight") %] - @@ -57,8 +143,8 @@ - + +[% END %]
[% LxERP.t8("Weight unit") %] [% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', style=style) %]
[% LxERP.t8('Show weights') %] [% 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?') %][% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]
-