]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IR.pm
Probleme mit mehreren Währungen und Wechselkursen behoben.
[mfinanz.git] / SL / IR.pm
index 98a53536f97f6f735ccb2b2252d9991370b80d53..177a287f0e32e6d16103790fdb79f097504b316e 100644 (file)
--- a/SL/IR.pm
+++ b/SL/IR.pm
@@ -46,6 +46,7 @@ sub post_invoice {
 
   # connect to database, turn off autocommit
   my $dbh = $provided_dbh ? $provided_dbh : $form->dbconnect_noauto($myconfig);
+  $form->{defaultcurrency} = $form->get_default_currency($myconfig);
 
   my ($query, $sth, @values, $project_id);
   my ($allocated, $taxrate, $taxamount, $taxdiff, $item);