]> wagnertech.de Git - mfinanz.git/blobdiff - SL/OE.pm
Constraints auf vendor/customer: Vorher alle verwaisten Einträge entfernen
[mfinanz.git] / SL / OE.pm
index cfe5e25b152ece29ce12c3a45c33b722e240f172..bfa43f23536a7d522eb2baede844a2c23c65d4f4 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