6 <div id="miscellaneous">
10 <table class="tbl-horizontal">
11 <caption> [% LxERP.t8("Company name and address") %] </caption>
12 <colgroup> <col class="wi-mediumsmall"><col class="wi-wide"> </colgroup>
15 <th> [% LxERP.t8("Company name") %] </th>
16 <td> [% L.input_tag('defaults.company', SELF.defaults.company, class='wi-wide') %] </td>
19 <td>[% LxERP.t8("Street 1") %]</td>
20 <td>[% L.input_tag('defaults.address_street1', SELF.defaults.address_street1, style=style) %]</td>
23 <td>[% LxERP.t8("Street 2") %]</td>
24 <td>[% L.input_tag('defaults.address_street2', SELF.defaults.address_street2, style=style) %]</td>
27 <td>[% LxERP.t8("Zipcode and city") %]</td>
29 [% L.input_tag('defaults.address_zipcode', SELF.defaults.address_zipcode, size=8) %]
30 [% L.input_tag('defaults.address_city', SELF.defaults.address_city, size=30) %]
34 <td>[% LxERP.t8("Country") %]</td>
35 <td>[% L.input_tag('defaults.address_country', SELF.defaults.address_country, style=style) %]</td>
38 <th class="caption" colspan="2">[% LxERP.t8("Company settings") %]</th>
41 <th> [% LxERP.t8("Signature") %] </th>
42 <td> [% L.textarea_tag('defaults.signature', SELF.defaults.signature, rows=4, class='wi-wide texteditor') %] </td>
45 <th> [% LxERP.t8("Tax number") %] </th>
46 [% IF SELF.defaults.feature_ustva %]
47 <td> [% SELF.defaults.taxnumber %] <a href="ustva.pl?action=config_step1"> ([% LxERP.t8("For changeing goto USTVA Config") %]) </a> </td>
49 <td> [% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, class='wi-medium-small') %] </td>
53 <th> [% LxERP.t8("Tax ID number") %] </th>
54 <td> [% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, class='wi-medium-small') %] </td>
57 <th> [% LxERP.t8("SEPA creditor ID") %] </th>
58 <td> [% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, class='wi-medium-small') %] </td>
61 <th> [% LxERP.t8("Business Number") %] </th>
62 <td> [% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, class='wi-medium-small') %] </td>
65 <th> [% LxERP.t8("DUNS number") %] </th>
66 <td> [% L.input_tag('defaults.duns', SELF.defaults.duns, class='wi-medium-small') %] </td>
71 <table class="tbl-horizontal">
72 <colgroup> <col class="wi-small"> <col class="wi-small"> <col class="wi-small"></colgroup>
73 <caption>[% LxERP.t8("Language settings") %]</caption>
76 <th> [% LxERP.t8('Default Customer/Vendor Language') %] </th>
77 <td colspan="2"> [% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, class='wi-mediumsmall') %] </td>
79 <tr class="header-caption">
80 <th class="caption">[% LxERP.t8("Currencies") %] </th>
81 <th>[% LxERP.t8("Currency name") %] </th>
82 <th class="center">[% LxERP.t8("Default currency") %] </th>
84 [% FOREACH currency = SELF.all_currencies %]
87 [% L.hidden_tag("currencies[+].id", currency.id) %]
88 [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
91 [% SET title=LxERP.t8("Edit the currency names in order to rename them.") %]
92 [% L.input_tag("currencies[].name", currency.name, title=title, class='wi-small') %]
94 <td class="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>
99 <td>[% L.input_tag("new_currency", FORM.new_currency, class='wi-small', placeholder=LxERP.t8('Add new currency'), title=LxERP.t8('Add new currency') ) %] </td>
100 <td class="center">[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %] </td>
102 [% IF SELF.all_weightunits.size %]
104 <th class="caption" colspan="3">[% LxERP.t8("Weight") %] </th>
107 <th>[% LxERP.t8("Weight unit") %] </th>
108 <td>[% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', class='wi-small') %] </td>
112 <th>[% LxERP.t8('Show weights') %] </th>
114 [% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, class='wi-small') %]
115 <div class="description">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</div>
122 </div><!-- /.wrapper -->
124 <div class="wrapper">
126 <table class="tbl-horizontal">
127 <caption>[% LxERP.t8("Print templates") %] </caption>
128 <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
132 <th>[% LxERP.t8("Print templates to use") %] </th>
133 <th>[% 'Templates' | $T8 %] </th>
136 <th>[% L.radio_button_tag('use_templates', value='existing', id='use_templates_existing', label=LxERP.t8('Use existing templates'), checked=(FORM.use_templates == 'existing')) %] </th>
137 <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, class='wi-normal') %] </td>
140 <th>[% 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')) %] </th>
141 <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, class='wi-normal') %] </td>
145 <td>[% SET placeholder=LxERP.t8("New name") %] [% L.input_tag('new_templates', FORM.new_templates, placeholder=placeholder, class='wi-normal') %] </td>
148 <th>[% LxERP.t8('Interpolate variables in texts of positions') %]</th>
150 [% L.yes_no_tag('defaults.print_interpolate_variables_in_positions', SELF.defaults.print_interpolate_variables_in_positions) %]
151 <div class="description">[% 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') %]</div>
157 </div><!-- /.wrapper -->
159 </div><!-- /#miscellaneous -->