Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 29795499

Von Sven Schöling vor etwa 17 Jahren hinzugefügt

  • ID 29795499e0623f7ff7ea739ed3b61d66dad0e7c6
  • Vorgänger dec4d40f
  • Nachfolger 7a611f95

Verbesserungen am Tag Script.

Ausserdem Merge der Revisionen 5239 5259 5340 5341 5342 und 5343.

Unterschiede anzeigen:

SL/IR.pm
305 305

  
306 306
  $h_item_unit->finish();
307 307

  
308
  my $project_id = conv_i($form->{"globalproject_id"});
308
  $project_id = conv_i($form->{"globalproject_id"});
309 309

  
310 310
  $form->{datepaid} = $form->{invdate};
311 311

  
......
637 637
  $main::lxdebug->enter_sub();
638 638

  
639 639
  my ($self, $myconfig, $form) = @_;
640

  
640
  my $query;
641 641
  # connect to database
642 642
  my $dbh = $form->dbconnect_noauto($myconfig);
643 643

  
644 644
  &reverse_invoice($dbh, $form);
645 645

  
646 646
  # delete zero entries
647
  my $query = qq|DELETE FROM acc_trans WHERE amount = 0|;
647
  $query = qq|DELETE FROM acc_trans WHERE amount = 0|;
648 648
  do_query($form, $dbh, $query);
649 649

  
650 650
  # delete AP record
651
  my $query = qq|DELETE FROM ap WHERE id = ?|;
651
  $query = qq|DELETE FROM ap WHERE id = ?|;
652 652
  do_query($form, $dbh, $query, conv_i($form->{id}));
653 653

  
654 654
  my $rc = $dbh->commit;

Auch abrufbar als: Unified diff