]> wagnertech.de Git - mfinanz.git/commitdiff
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 25 Oct 2012 13:42:35 +0000 (15:42 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 25 Oct 2012 13:42:35 +0000 (15:42 +0200)
templates/webpages/csv_import/_form_parts.html
templates/webpages/generic/exception.html

index e499e8014373544b1b3544b25eab160640cc2af3..beb09a0d00eb51c3da68b6fee90f31a8c5c03f30 100644 (file)
@@ -43,8 +43,7 @@
 <tr>
  <th align="right" valign="top">[%- LxERP.t8('Default buchungsgruppe') %]:</th>
  <td colspan="10" valign="top">
-  [% 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') %]
   <br>
   [% 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 @@
 <tr>
  <th align="right" valign="top">[%- LxERP.t8('Default unit') %]:</th>
  <td colspan="10" valign="top">
-  [% 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') %]
  </td>
 </tr>
index f99471409017cb33e8cc2c346464bca041fe5aa8..8b70d41a092f0cc73767fcc684199206e2a1024a 100644 (file)
@@ -1,4 +1,5 @@
-[%-- USE LxERP %][%- USE HTML %]
+[%- USE LxERP %]
+[%- USE HTML %]
 
  <h1 class="message_error">[%- LxERP.t8('Error!') %]</h1>