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