projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea2a09
)
Rechnung als Vorlage verwenden: Fälligkeitsdatum nach Zahlungsbedingungen/neuem Rechn...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 21 Nov 2012 14:48:16 +0000
(15:48 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 21 Nov 2012 14:48:16 +0000
(15:48 +0100)
Fixt #2065.
bin/mozilla/is.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/is.pl
b/bin/mozilla/is.pl
index
c6c2bfe
..
45305c9
100644
(file)
--- 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);