X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fcsv_import%2F_form_parts.html;h=0eea2d14fd05bb12560138097ded7e31f09b198c;hb=caf4380789ea2166eaf89f7a600406f850d64428;hp=26465aa9ee03497fd2af835a0824f18cc221010a;hpb=1abd784542136a7ce095ae97c754aae088acf1bb;p=kivitendo-erp.git diff --git a/templates/webpages/csv_import/_form_parts.html b/templates/webpages/csv_import/_form_parts.html index 26465aa9e..0eea2d14f 100644 --- a/templates/webpages/csv_import/_form_parts.html +++ b/templates/webpages/csv_import/_form_parts.html @@ -1,7 +1,9 @@ +[% USE LxERP %] +[% USE L %] [%- LxERP.t8('Parts with existing part numbers') %]: - [% opts = [ [ 'update_prices', LxERP.t8('Update prices of existing entries') ], [ 'insert_new', LxERP.t8('Insert with new part number') ] ] %] + [% opts = [ [ 'update_prices', LxERP.t8('Update prices of existing entries') ], [ 'insert_new', LxERP.t8('Insert with new part number') ], [ 'skip', LxERP.t8('Skip entry') ] ] %] [% L.select_tag('settings.article_number_policy', L.options_for_select(opts, default => SELF.profile.get('article_number_policy')), style => 'width: 300px') %] @@ -22,13 +24,6 @@ - - [%- LxERP.t8('Separator for part groups') %]: - - [% L.input_tag('settings.part_group_sep_char', SELF.profile.get('part_group_sep_char'), size => 5) %] - - - [%- LxERP.t8('Mark as shop article if column missing') %]: @@ -48,10 +43,18 @@ [%- LxERP.t8('Default buchungsgruppe') %]: - [% opts = L.options_for_select(SELF.all_buchungsgruppen, tilte => 'description', value => 'description', default => SELF.profile.get('default_buchungsgruppe')) %] + [% opts = L.options_for_select(SELF.all_buchungsgruppen, title => 'description', default => SELF.profile.get('default_buchungsgruppe')) %] [% L.select_tag('settings.default_buchungsgruppe', opts, style => 'width: 300px') %]
[% opts = [ [ 'never', LxERP.t8('Do not set default buchungsgruppe') ], [ 'all', LxERP.t8('Apply to all parts') ], [ 'missing', LxERP.t8('Apply to parts without buchungsgruppe') ] ] %] [% L.select_tag('settings.apply_buchungsgruppe', L.options_for_select(opts, default => SELF.profile.get('apply_buchungsgruppe')), style => 'width: 300px') %] + + + [%- LxERP.t8('Default unit') %]: + + [% opts = L.options_for_select(SELF.all_units, title => 'name', value => 'name', default => SELF.profile.get('default_unit')) %] + [% L.select_tag('settings.default_unit', opts, style => 'width: 300px') %] + +