From: Sven Schöling Date: Thu, 22 Mar 2007 16:52:37 +0000 (+0000) Subject: Bug 603 - intnotes werden nicht übernommen wenn vom Kunden aus Auftraege/Buchungen... X-Git-Tag: release-2.4.3^2~582 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=98662ad2b031a81c88ce6da0babf6f9d0b37059a;p=kivitendo-erp.git Bug 603 - intnotes werden nicht übernommen wenn vom Kunden aus Auftraege/Buchungen erstellt werden --- diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 523cdee41..7f670582c 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -136,6 +136,9 @@ sub create_links { $form->{oldcustomer} = "$form->{customer}--$form->{customer_id}"; $form->{rowcount} = 1; + # notes + $form->{notes} = $form->{intnotes} unless $form->{notes}; + # currencies @curr = split(/:/, $form->{currencies}); chomp $curr[0]; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 8b6a403f9..da5ab0067 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -236,7 +236,7 @@ sub order_links { if ($taxzone_id) { $form->{taxzone_id} = $taxzone_id; } - $form->{intnotes} = $intnotes; + $form->{intnotes} = $intnotes if $intnotes; ($form->{ $form->{vc} }) = split /--/, $form->{ $form->{vc} }; $form->{"old$form->{vc}"} = qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;