]> wagnertech.de Git - mfinanz.git/blobdiff - SL/OE.pm
Leerzeichen am Ende bei curr(ency) entfernen.
[mfinanz.git] / SL / OE.pm
index 61360996b658c813bdf6b11154ccbdca52ab25b8..5bf2a3da969c5e318eb6f1f6b1571df3b5607c89 100644 (file)
--- a/SL/OE.pm
+++ b/SL/OE.pm
@@ -806,6 +806,9 @@ sub retrieve {
     if ($ref) {
       map { $form->{$_} = $ref->{$_} } keys %$ref;
 
+      # remove any trailing whitespace
+      $form->{currency} =~ s/\s*$//;
+
       $form->{saved_xyznumber} = $form->{$form->{type} =~ /_quotation$/ ? "quonumber" : "ordnumber"};
 
       # set all entries for multiple ids blank that yield different information