BUG-Fix: Beim Stornieren einer Rechnungen wird der bezahlte Betrag verdoppelt.
[kivitendo-erp.git] / SL / IS.pm
index 6affa1d..a9a115d 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -1298,7 +1298,7 @@ SQL
   if ($form->{storno}) {
     $query =
       qq!UPDATE ar SET
-           paid = paid + amount,
+           paid = amount,
            storno = 't',
            intnotes = ? || intnotes
          WHERE id = ?!;