From 98662ad2b031a81c88ce6da0babf6f9d0b37059a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 22 Mar 2007 16:52:37 +0000 Subject: [PATCH] =?utf8?q?Bug=20603=20-=20intnotes=20werden=20nicht=20?= =?utf8?q?=C3=BCbernommen=20wenn=20vom=20Kunden=20aus=20Auftraege/Buchunge?= =?utf8?q?n=20erstellt=20werden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ar.pl | 3 +++ bin/mozilla/oe.pl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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"}|; -- 2.20.1