Merge branch 'master' of ssh://git-sdonath@lx-office.linet-services.de/~/lx-office-erp
authorSven Donath <lxo@dexo.de>
Thu, 21 Oct 2010 00:47:48 +0000 (02:47 +0200)
committerSven Donath <lxo@dexo.de>
Thu, 21 Oct 2010 00:47:48 +0000 (02:47 +0200)
SL/Template/LaTeX.pm
locale/de/all
templates/webpages/oe/form_header.html

index c515187..8aac39d 100644 (file)
@@ -55,7 +55,7 @@ sub parse_foreach {
 
   for (my $i = 0; $i < scalar(@{$ary}); $i++) {
     # do magic markers
-    $form->{"__first__"}   = $i == 1;
+    $form->{"__first__"}   = $i == 0;
     $form->{"__last__"}    = ($i + 1) == scalar(@{$ary});
     $form->{"__odd__"}     = (($i + 1) % 2) == 1;
     $form->{"__counter__"} = $i + 1;
index fe3a458..2cb2705 100644 (file)
@@ -1305,6 +1305,7 @@ $self->{texts} = {
   'Quote chararacter'           => 'Anf&uuml;hrungszeichen',
   'Quoted'                      => 'Angeboten',
   'RFQ'                         => 'Anfrage',
+  'RFQ Date'                    => 'Anfragedatum',
   'RFQ Number'                  => 'Anfragenummer',
   'RFQs'                        => 'Preisanfragen',
   'ROP'                         => 'Mindestlagerbestand',
index ba6c9cc..0bd6002 100644 (file)
                     <th align="right" nowrap>
                      [%- IF is_order %]
                       [% 'Order Date' | $T8 %]
+                     [%- ELSIF is_req_quo %]
+                      [% 'RFQ Date' | $T8 %]
                      [%- ELSE %]
                       [% 'Quotation Date' | $T8 %]
                      [%- END %]