Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
authorG. Richardson <information@lx-office-hosting.de>
Mon, 30 Apr 2012 08:56:09 +0000 (10:56 +0200)
committerG. Richardson <information@lx-office-hosting.de>
Mon, 30 Apr 2012 08:56:09 +0000 (10:56 +0200)
bin/mozilla/is.pl
doc/UPGRADE
templates/print/RB/english.tex

index d99d1eb..66aa4b8 100644 (file)
@@ -576,7 +576,7 @@ sub update {
 
         $form->{creditremaining} -= $amount;
 
-        map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, $decimalplaces) } qw(sellprice listprice lastcost);
+        map { $form->{"${_}_$i"} = $form->format_amount(\%myconfig, $form->{"${_}_$i"}, $decimalplaces) } qw(sellprice lastcost);
 
         $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"});
 
@@ -938,6 +938,12 @@ sub credit_note {
 #  map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) }
 #    qw(creditlimit creditremaining);
 
+  for my $i (1 .. $form->{rowcount}) {
+    for (qw(listprice)) {
+      $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if $form->{"${_}_${i}"};
+    }
+  }
+
   my $currency = $form->{currency};
   &invoice_links;
 
index 16648b6..73f7564 100644 (file)
@@ -32,6 +32,10 @@ Upgrade auf v2.7.0
   werden, oder auf anderem Wege erstellt werden. Der Prozess dazu wird sich in
   einer kommenden Version ändern.
 
+* Die Namen der von LaTeX generierten PDF-Dateien sind jetzt in der
+  eingestellten Dokumentensprache, nicht mehr in der Oberflächensprache des
+  Bearbeiters.
+
 * Neue Abhängigkeiten
 
   * JSON
index 901fbd2..6bb2ce4 100644 (file)
@@ -71,8 +71,8 @@
 \newcommand{\zwischensumme} {Subtotal}
 \newcommand{\leistungsdatumGleichRechnungsdatum} {The date of service corresponds to that of the invoice.}
 \newcommand{\unserebankverbindung} {Our bank details}
-\newcommand{\textKontonummer} {Accout no.:}
-\newcommand{\textBank} {bei der}
+\newcommand{\textKontonummer} {Account no.:}
+\newcommand{\textBank} {at}
 \newcommand{\textBankleitzahl} {Bank code:}
 \newcommand{\textBic} {BIC:}
 \newcommand{\textIban} {IBAN:}
@@ -90,7 +90,7 @@
 
 % sammelrechnung (statement)
 \newcommand{\sammelrechnung} {Statement}
-\newcommand{\sammelrechnungsformel} {please note that following invoices are outstanding:}
+\newcommand{\sammelrechnungsformel} {please note that the following invoices are outstanding:}
 \newcommand{\faellig} {Due}
 \newcommand{\aktuell} {Current}
 \newcommand{\asDreissig} {30}
 % zahlungserinnerung (Mahnung)
 \newcommand{\mahnung} {Payment reminder}
 \newcommand{\mahnungsformel} {our records show that the following invoices are still outstanding:}
-\newcommand{\beruecksichtigtBis} {We have taken into account payments received up to}
+\newcommand{\beruecksichtigtBis} {We have taken into account payments received up until}
 \newcommand{\schonGezahlt} {If you have already paid in the meantime, please ignore this payment reminder.}
 
 % zahlungserinnerung_invoice (Rechnung zur Mahnung)