From: Sven Schöling Date: Wed, 24 Oct 2012 14:54:10 +0000 (+0200) Subject: Fehler in Units und Bugrus in CsvImport. X-Git-Tag: release-3.0.0beta1~95 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=07988e6dc69a90a06072d6f199f1e5f70985ea2b;p=kivitendo-erp.git Fehler in Units und Bugrus in CsvImport. Wahrscheinlich Fehler beim Refactorn von L.options_for_select --- 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') %]