Bug 603 - intnotes werden nicht übernommen wenn vom Kunden aus Auftraege/Buchungen...
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 22 Mar 2007 16:52:37 +0000 (16:52 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 22 Mar 2007 16:52:37 +0000 (16:52 +0000)
bin/mozilla/ar.pl
bin/mozilla/oe.pl

index 523cdee..7f67058 100644 (file)
@@ -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];
index 8b6a403..da5ab00 100644 (file)
@@ -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"}|;