]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/ap.pl
Noch ein paar Fehler bei Zahlungseingaengen im Zusammenhang mit den Wechselkursen
[kivitendo-erp.git] / bin / mozilla / ap.pl
index 5fa77109e93d4d3beea042e9e9891f3284c513fc..ff29c0bbcadde99bbaf88cf2e027806dd6f14d63 100644 (file)
@@ -907,6 +907,9 @@ sub update {
 
 sub post_payment {
   $lxdebug->enter_sub();
+
+  $form->{defaultcurrency} = $form->get_default_currency(\%myconfig);
+
   for $i (1 .. $form->{paidaccounts}) {
     if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
       $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);