X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcsv_import%2F_form_parts.html;h=beb09a0d00eb51c3da68b6fee90f31a8c5c03f30;hb=b2930e37cd4bfd276be6c785e1cd7fff0f503aef;hp=e499e8014373544b1b3544b25eab160640cc2af3;hpb=a8825c9ea8356a306cec2ec09d0e78326bda7bec;p=kivitendo-erp.git diff --git a/templates/webpages/csv_import/_form_parts.html b/templates/webpages/csv_import/_form_parts.html index e499e8014..beb09a0d0 100644 --- a/templates/webpages/csv_import/_form_parts.html +++ b/templates/webpages/csv_import/_form_parts.html @@ -43,8 +43,7 @@ [%- LxERP.t8('Default buchungsgruppe') %]: - [% opts = SELF.all_buchungsgruppen, title_key = 'description', default = SELF.profile.get('default_buchungsgruppe') %] - [% L.select_tag('settings.default_buchungsgruppe', opts, style => 'width: 300px') %] + [% L.select_tag('settings.default_buchungsgruppe', SELF.all_buchungsgruppen, title_key = 'description', default = SELF.profile.get('default_buchungsgruppe'), 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', opts, default = SELF.profile.get('apply_buchungsgruppe'), style = 'width: 300px') %] @@ -54,7 +53,6 @@ [%- LxERP.t8('Default unit') %]: - [% opts = SELF.all_units, title_key = 'name', value_key = 'name', default = SELF.profile.get('default_unit') %] - [% L.select_tag('settings.default_unit', opts, style => 'width: 300px') %] + [% L.select_tag('settings.default_unit', SELF.all_units, title_key='name', value_key='name', default=SELF.profile.get('default_unit'), style = 'width: 300px') %]