]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/is.pl
Änderungen zum vorherigen Commit, um die Funktionen rouster zu machen.
[kivitendo-erp.git] / bin / mozilla / is.pl
index ad0c99080d941e0355f9327d9a02b43c9894b771..aa75ebe25bd720b1c375f854c58a6db30a507672 100644 (file)
@@ -34,6 +34,7 @@
 use SL::FU;
 use SL::IS;
 use SL::PE;
+use SL::OE;
 use Data::Dumper;
 use List::Util qw(max sum);
 
@@ -156,7 +157,7 @@ sub invoice_links {
   }
 
   # Load data for a specific order and update form fields
-  my $order_data = IS->get_order_data();
+  my $order_data = OE->get_order_data_by_ordnumber(%$form);
 
   # Copy the fields we need to %form
   for my $key (qw(payment_id salesman_id orddate taxzone_id quonumber)) {