X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c65e8fcc568f54001e277a8d7d8d2bd21cf80f4d..fe950b4fbe00b393eb91889633992e7eb56d21e9:/bin/mozilla/do.pl diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 51986b0b7..297abd2f3 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -963,7 +963,8 @@ sub invoice_multi { IS->get_customer(\%myconfig, \%$form); $vc_discount = $form->{customer_discount}; } - restore_form($saved_form); + # use payment terms from customer or vendor + restore_form($saved_form,0,qw(payment_id)); $form->{rowcount} = 0; foreach my $ref (@{ $form->{form_details} }) {