Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 91ea86b4

Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt

  • ID 91ea86b4c90a12c046c6eb37e0ca9f5b9672b81f
  • Vorgänger d6bf475a
  • Nachfolger a326f385

Setzen des Stornoflags auf "0" anstelle von NULL.

Unterschiede anzeigen:

bin/mozilla/ap.pl
993 993
  $form->{AP}{amount_1} = $debitaccno;
994 994
  $form->{AP}{payables} = $payablesaccno;
995 995
  $form->{taxkey}       = $taxkey;
996
  $form->{storno}       = 0;
996 997

  
997 998
  $form->{id} = 0 if $form->{postasnew};
998 999

  
bin/mozilla/ar.pl
1023 1023
  }
1024 1024

  
1025 1025
  $form->{AR}{receivables} = $form->{ARselected};
1026
  $form->{storno}          = 0;
1026 1027

  
1027 1028
  $form->{id} = 0 if $form->{postasnew};
1029

  
1030

  
1028 1031
  if (AR->post_transaction(\%myconfig, \%$form)) {
1029 1032
    # saving the history
1030 1033
    if(!exists $form->{addition} && $form->{id} ne "") {
bin/mozilla/gl.pl
1760 1760
sub post {
1761 1761
  $lxdebug->enter_sub();
1762 1762

  
1763
  $form->{title} = $locale->text("$form->{title} General Ledger Transaction");
1763
  $form->{title}  = $locale->text("$form->{title} General Ledger Transaction");
1764
  $form->{storno} = 0;
1764 1765

  
1765 1766
  post_transaction();
1766 1767

  
bin/mozilla/ir.pl
1141 1141

  
1142 1142
  ($form->{AP})      = split /--/, $form->{AP};
1143 1143
  ($form->{AP_paid}) = split /--/, $form->{AP_paid};
1144
  $form->{storno}    = 0;
1144 1145

  
1145 1146
  $form->{id} = 0 if $form->{postasnew};
1146 1147

  
bin/mozilla/is.pl
1463 1463

  
1464 1464
  ($form->{AR})      = split /--/, $form->{AR};
1465 1465
  ($form->{AR_paid}) = split /--/, $form->{AR_paid};
1466
  $form->{storno}    = 0;
1466 1467

  
1467 1468
  $form->{label} = $locale->text('Invoice');
1468 1469

  

Auch abrufbar als: Unified diff