1 [%- USE LxERP -%][%- USE L -%][%- USE HTML -%]
2 [% SET style="width: 400px" %]
3 <div id="miscellaneous">
5 <tr><td class="listheading" colspan="4">[% LxERP.t8("Company settings") %]</td></tr>
8 <td align="right">[% LxERP.t8("Company name") %]</td>
9 <td>[% L.input_tag('defaults.company', SELF.defaults.company, style=style) %]</td>
13 <td align="right" valign="top">[% LxERP.t8("Address") %]</td>
14 <td valign="top">[% L.textarea_tag('defaults.address', SELF.defaults.address, style=style, rows=4) %]</td>
18 <td align="right">[% LxERP.t8("Tax number") %]</td>
19 <td>[% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, style=style) %]</td>
23 <td align="right">[% LxERP.t8("Tax ID number") %]</td>
24 <td>[% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, style=style) %]</td>
28 <td align="right">[% LxERP.t8("SEPA creditor ID") %]</td>
29 <td>[% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, style=style) %]</td>
33 <td align="right">[% LxERP.t8("Business Number") %]</td>
34 <td>[% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, style=style) %]</td>
38 <td align="right">[% LxERP.t8("DUNS number") %]</td>
39 <td>[% L.input_tag('defaults.duns', SELF.defaults.duns, style=style) %]</td>
42 <tr><td class="listheading" colspan="4">[% LxERP.t8("Language settings") %]</td></tr>
45 <td align="right">[% LxERP.t8('Default Customer/Vendor Language') %]</td>
46 <td>[% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, style=style) %]</td>
49 <tr><td class="listheading" colspan="4">[% LxERP.t8("Print templates") %]</td></tr>
52 <td align="right" valign="top">[% LxERP.t8("Print templates to use") %]</td>
53 <td colspan="3" valign="top">
56 <td>[% L.radio_button_tag('use_templates', value='existing', id='use_templates_existing', label=LxERP.t8('Use existing templates'), checked=(FORM.use_templates == 'existing')) %]</td>
57 <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, style=style) %]</td>
61 <td>[% 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')) %]</td>
62 <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, style=style) %]</td>
66 <td align="right">[% LxERP.t8("New name") %]</td>
67 <td>[% L.input_tag('new_templates', FORM.new_templates, style=style) %]</td>
73 <tr><td class="listheading" colspan="4">[% LxERP.t8("Currencies") %]</td></tr>
77 <th>[% LxERP.t8("Currency name") %]</th>
78 <th>[% LxERP.t8("Default currency") %]</th>
79 <th>[% LxERP.t8("Hints") %]</th>
82 [% FOREACH currency = SELF.all_currencies %]
83 [% L.hidden_tag("currencies[+].id", currency.id) %]
85 <td align="right">[% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]</td>
86 <td>[% L.input_tag("currencies[].name", currency.name, style=style) %]</td>
87 <td align="center">[% L.radio_button_tag('defaults.currency_id', value=currency.id, id='defaults.currency_id_' _ currency.id, checked=(SELF.defaults.currency_id == currency.id)) %]</td>
88 <td>[% IF loop.count == 1 %][% LxERP.t8("Edit the currency names in order to rename them.") %][%- END %]</td>
93 <td align="right">[% LxERP.t8("Add new currency") %]</td>
94 <td>[% L.input_tag("new_currency", FORM.new_currency, style=style) %]</td>
95 <td align="center">[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %]</td>
98 [% IF SELF.all_weightunits.size %]
99 <tr><td class="listheading" colspan="4">[% LxERP.t8("Weight") %]</td></tr>
102 <td align="right">[% LxERP.t8("Weight unit") %]</td>
103 <td>[% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', style=style) %]</td>
107 <td align="right">[% LxERP.t8('Show weights') %]</td>
108 <td>[% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, style=style) %]</td>
109 <td colspan="2">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</td>