]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/client_config/_miscellaneous.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / client_config / _miscellaneous.html
1 [% USE LxERP %]
2 [% USE L %]
3 [% USE HTML %]
4 [% USE T8 %]
5
6 <div id="miscellaneous">
7
8 <div class="wrapper">
9
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>
13     <tbody>
14     <tr>
15       <th> [% LxERP.t8("Company name") %] </th>
16       <td> [% L.input_tag('defaults.company', SELF.defaults.company, class='wi-wide') %] </td>
17     </tr>
18     <tr>
19      <td>[% LxERP.t8("Street 1") %]</td>
20      <td>[% L.input_tag('defaults.address_street1', SELF.defaults.address_street1, style=style) %]</td>
21     </tr>
22     <tr>
23      <td>[% LxERP.t8("Street 2") %]</td>
24      <td>[% L.input_tag('defaults.address_street2', SELF.defaults.address_street2, style=style) %]</td>
25     </tr>
26     <tr>
27      <td>[% LxERP.t8("Zipcode and city") %]</td>
28      <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) %]
31      </td>
32     </tr>
33     <tr>
34      <td>[% LxERP.t8("Country") %]</td>
35      <td>[% L.input_tag('defaults.address_country', SELF.defaults.address_country, style=style) %]</td>
36     </tr>
37     <tr>
38       <th class="caption" colspan="2">[% LxERP.t8("Company settings") %]</th>
39     </tr>
40     <tr>
41       <th> [% LxERP.t8("Signature") %] </th>
42       <td> [% L.textarea_tag('defaults.signature', SELF.defaults.signature, rows=4, class='wi-wide texteditor') %] </td>
43     </tr>
44     <tr>
45       <th> [% LxERP.t8("Tax number") %] </th>
46       [% IF SELF.defaults.feature_ustva %]
47       <td> [% SELF.defaults.taxnumber %]&nbsp;&nbsp; <a href="ustva.pl?action=config_step1"> ([% LxERP.t8("For changeing goto USTVA Config") %]) </a> </td>
48       [% ELSE %]
49       <td> [% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, class='wi-medium-small') %] </td>
50       [% END %]
51     </tr>
52     <tr>
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>
55     </tr>
56     <tr>
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>
59     </tr>
60     <tr>
61       <th> [% LxERP.t8("Business Number") %] </th>
62       <td> [% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, class='wi-medium-small') %] </td>
63     </tr>
64     <tr>
65       <th> [% LxERP.t8("DUNS number") %] </th>
66       <td> [% L.input_tag('defaults.duns', SELF.defaults.duns, class='wi-medium-small') %] </td>
67     </tr>
68     </tbody>
69   </table>
70
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>
74     <tbody>
75     <tr>
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>
78     </tr>
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>
83     </tr>
84     [% FOREACH currency = SELF.all_currencies %]
85       <tr>
86         <th>
87           [% L.hidden_tag("currencies[+].id", currency.id) %]
88           [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
89         </th>
90         <td>
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') %]
93         </td>
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>
95       </tr>
96     [% END %]
97     <tr>
98       <th></th>
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>
101     </tr>
102     [% IF SELF.all_weightunits.size %]
103     <tr>
104       <th class="caption" colspan="3">[% LxERP.t8("Weight") %] </th>
105     </tr>
106     <tr>
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>
109       <td></td>
110     </tr>
111     <tr>
112       <th>[% LxERP.t8('Show weights') %] </th>
113       <td colspan="2">
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>
116       </td>
117     </tr>
118     [% END %]
119     </tbody>
120   </table>
121
122 </div><!-- /.wrapper -->
123
124 <div class="wrapper">
125
126   <table class="tbl-horizontal">
127     <caption>[% LxERP.t8("Print templates") %] </caption>
128     <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
129
130     <tbody>
131       <tr>
132         <th>[% LxERP.t8("Print templates to use") %] </th>
133         <th>[% 'Templates' | $T8 %] </th>
134       </tr>
135       <tr>
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>
138       </tr>
139       <tr>
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>
142       </tr>
143       <tr>
144         <th></th>
145         <td>[% SET placeholder=LxERP.t8("New name") %] [% L.input_tag('new_templates', FORM.new_templates, placeholder=placeholder, class='wi-normal') %] </td>
146       </tr>
147       <tr>
148         <th>[% LxERP.t8('Interpolate variables in texts of positions') %]</th>
149         <td colspan="2">
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>
152         </td>
153        </tr>
154     </tbody>
155   </table>
156
157 </div><!-- /.wrapper -->
158
159 </div><!-- /#miscellaneous -->