Revision 07988e6d
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
templates/webpages/csv_import/_form_parts.html | ||
---|---|---|
43 | 43 |
<tr> |
44 | 44 |
<th align="right" valign="top">[%- LxERP.t8('Default buchungsgruppe') %]:</th> |
45 | 45 |
<td colspan="10" valign="top"> |
46 |
[% opts = SELF.all_buchungsgruppen, title_key = 'description', default = SELF.profile.get('default_buchungsgruppe') %] |
|
47 |
[% L.select_tag('settings.default_buchungsgruppe', opts, style => 'width: 300px') %] |
|
46 |
[% L.select_tag('settings.default_buchungsgruppe', SELF.all_buchungsgruppen, title_key = 'description', default = SELF.profile.get('default_buchungsgruppe'), style => 'width: 300px') %] |
|
48 | 47 |
<br> |
49 | 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') ] ] %] |
50 | 49 |
[% L.select_tag('settings.apply_buchungsgruppe', opts, default = SELF.profile.get('apply_buchungsgruppe'), style = 'width: 300px') %] |
... | ... | |
54 | 53 |
<tr> |
55 | 54 |
<th align="right" valign="top">[%- LxERP.t8('Default unit') %]:</th> |
56 | 55 |
<td colspan="10" valign="top"> |
57 |
[% opts = SELF.all_units, title_key = 'name', value_key = 'name', default = SELF.profile.get('default_unit') %] |
|
58 |
[% L.select_tag('settings.default_unit', opts, style => 'width: 300px') %] |
|
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') %] |
|
59 | 57 |
</td> |
60 | 58 |
</tr> |
Auch abrufbar als: Unified diff
Fehler in Units und Bugrus in CsvImport.
Wahrscheinlich Fehler beim Refactorn von L.options_for_select