]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/GL.pm
Benutzerkonfiguration um Einstellungen zur Aufgabenliste erweitert.
[kivitendo-erp.git] / SL / GL.pm
index 6cdcee97891df22d8ee223bd2ca6cb4bd5134066..8d68624224c2f7918c5db7c366f43d2fce86c469 100644 (file)
--- a/SL/GL.pm
+++ b/SL/GL.pm
@@ -662,6 +662,9 @@ sub storno {
   $query = sprintf 'INSERT INTO gl (%s) VALUES (%s)', join(', ', keys %$storno_row), join(', ', map '?', values %$storno_row);
   do_query($form, $dbh, $query, (values %$storno_row));
 
+  $query = qq|UPDATE gl SET storno = 't' WHERE id = ?|;
+  do_query($form, $dbh, $query, $id);
+
   # now copy acc_trans entries
   $query = qq|SELECT * FROM acc_trans WHERE trans_id = ?|;
   my $rowref = selectall_hashref_query($form, $dbh, $query, $id);