]> wagnertech.de Git - mfinanz.git/blobdiff - SL/AP.pm
4. Überarbeitung Prüfen beim Speichern, ob Dokument geändert ist(2)
[mfinanz.git] / SL / AP.pm
index 7db5649f6856c90af12e1f4e3c154f0f01a83114..08dd542246caf7190e196a33117cd861a5ea9537 100644 (file)
--- a/SL/AP.pm
+++ b/SL/AP.pm
@@ -811,8 +811,6 @@ sub storno {
   $query = qq|UPDATE ap SET paid = amount + paid, storno = 't' WHERE id = ?|;
   do_query($form, $dbh, $query, $id);
 
-  $form->new_lastmtime('ap') if $id == $form->{id};
-
   # now copy acc_trans entries
   $query = qq|SELECT a.*, c.link FROM acc_trans a LEFT JOIN chart c ON a.chart_id = c.id WHERE a.trans_id = ? ORDER BY a.acc_trans_id|;
   my $rowref = selectall_hashref_query($form, $dbh, $query, $id);
@@ -832,8 +830,6 @@ sub storno {
 
   map { IO->set_datepaid(table => 'ap', id => $_, dbh => $dbh) } ($id, $new_id);
 
-  $form->new_lastmtime('ap') if $storno_id == $form->{id};
-
   $dbh->commit;
 
   $main::lxdebug->leave_sub();