epic-ts
[kivitendo-erp.git] / templates / webpages / csv_import / _form_parts.html
1 [% USE LxERP %]
2 [% USE L %]
3 <tr>
4  <th align="right">[%- LxERP.t8('Parts with existing part numbers') %]:</th>
5  <td colspan="10">
6   [% opts = [ [ 'update_prices', LxERP.t8('Update prices of existing entries') ], [ 'insert_new', LxERP.t8('Insert with new part number') ], [ 'skip', LxERP.t8('Skip entry') ] ] %]
7   [% L.select_tag('settings.article_number_policy', opts, default = SELF.profile.get('article_number_policy'), style = 'width: 300px') %]
8  </td>
9 </tr>
10
11 <tr>
12  <th align="right">[%- LxERP.t8('Sellprice significant places') %]:</th>
13  <td colspan="10">
14   [% L.select_tag('settings.sellprice_places', [ 0, 1, 2, 3, 4, 5 ], default = SELF.profile.get('sellprice_places'), style = 'width: 300px') %]
15  </td>
16 </tr>
17
18 <tr>
19  <th align="right">[%- LxERP.t8('Sellprice adjustment') %]:</th>
20  <td colspan="10">
21   [% L.input_tag('settings.sellprice_adjustment', LxERP.format_amount(SELF.profile.get('sellprice_adjustment')), size => "5") %]
22   [% opts = [ [ 'percent', LxERP.t8('percental') ], [ 'absolute', LxERP.t8('absolute') ] ] %]
23   [% L.select_tag('settings.sellprice_adjustment_type', opts, default = SELF.profile.get('sellprice_adjustment_type')) %]
24  </td>
25 </tr>
26
27 <tr>
28  <th align="right">[%- LxERP.t8('Mark as shop article if column missing') %]:</th>
29  <td colspan="10">
30   [% opts = [ [ '1', LxERP.t8('yes') ], [ '0', LxERP.t8('no') ] ] %]
31   [% L.select_tag('settings.shoparticle_if_missing', opts, default = SELF.profile.get('shoparticle_if_missing'), style = 'width: 300px') %]
32  </td>
33 </tr>
34
35 <tr>
36  <th align="right">[%- LxERP.t8('Type') %]:</th>
37  <td colspan="10">
38   [% opts = [ [ 'part', LxERP.t8('Parts') ], [ 'service', LxERP.t8('Services') ], [ 'mixed', LxERP.t8('Mixed (requires column "type")') ] ] %]
39   [% L.select_tag('settings.parts_type', opts, default = SELF.profile.get('parts_type'), style = 'width: 300px') %]
40  </td>
41 </tr>
42
43 <tr>
44  <th align="right" valign="top">[%- LxERP.t8('Default buchungsgruppe') %]:</th>
45  <td colspan="10" valign="top">
46   [% L.select_tag('settings.default_buchungsgruppe', SELF.all_buchungsgruppen, title_key = 'description', default = SELF.profile.get('default_buchungsgruppe'), style => 'width: 300px') %]
47   <br>
48   [% opts = [ [ 'never', LxERP.t8('Do not set default buchungsgruppe') ], [ 'all', LxERP.t8('Apply to all parts') ], [ 'missing', LxERP.t8('Apply to parts without buchungsgruppe') ] ] %]
49   [% L.select_tag('settings.apply_buchungsgruppe', opts, default = SELF.profile.get('apply_buchungsgruppe'), style = 'width: 300px') %]
50  </td>
51 </tr>
52
53 <tr>
54  <th align="right" valign="top">[%- LxERP.t8('Default unit') %]:</th>
55  <td colspan="10" valign="top">
56   [% L.select_tag('settings.default_unit', SELF.all_units, title_key='name', value_key='name', default=SELF.profile.get('default_unit'), style = 'width: 300px') %]
57  </td>
58 </tr>