From fe950b4fbe00b393eb91889633992e7eb56d21e9 Mon Sep 17 00:00:00 2001 From: "Martin Helmling mh@waldpark.octosoft.eu" Date: Tue, 19 Apr 2016 13:14:56 +0200 Subject: [PATCH] Rechnung aus Lieferscheinen hat keine Zahlungsbedingung Hier wird nun die Zahlungsbedingung des Kunden oder Lieferanten genommen, falls dieser eine hat --- bin/mozilla/do.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} }) { -- 2.20.1