Fix für Bug 1164 - form->datepaid wird beim Speichern einer Verkaufsrechnung auf...
authorJan Büren <jan@richardson-bueren.de>
Sat, 19 Sep 2009 21:06:14 +0000 (23:06 +0200)
committerJan Büren <jan@richardson-bueren.de>
Sat, 19 Sep 2009 21:06:14 +0000 (23:06 +0200)
SL/IS.pm

index 2550393..9b97821 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -737,8 +737,6 @@ sub post_invoice {
     }
   }
 
     }
   }
 
-  $form->{datepaid} = $form->{invdate};
-
   # total payments, don't move we need it here
   for my $i (1 .. $form->{paidaccounts}) {
     if ($form->{type} eq "credit_note") {
   # total payments, don't move we need it here
   for my $i (1 .. $form->{paidaccounts}) {
     if ($form->{type} eq "credit_note") {