From fa4c865c298b913c048d59b6e559476845fa1d87 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 21 Nov 2012 15:48:16 +0100 Subject: [PATCH] =?utf8?q?Rechnung=20als=20Vorlage=20verwenden:=20F=C3=A4l?= =?utf8?q?ligkeitsdatum=20nach=20Zahlungsbedingungen/neuem=20Rechnungsdatu?= =?utf8?q?m=20neu=20setzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixt #2065. --- bin/mozilla/is.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index c6c2bfe34..45305c9b7 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -811,6 +811,7 @@ sub use_as_template { $form->{paidaccounts} = 1; $form->{rowcount}--; $form->{invdate} = $form->current_date(\%myconfig); + $form->{duedate} = $form->get_duedate(\%myconfig, $form->{invdate}) || $form->{invdate}; # remember pricegroups for "use as template" IS->get_pricegroups_for_parts(\%myconfig, \%$form); -- 2.20.1