Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ab924a30

Von Moritz Bunkus vor mehr als 3 Jahren hinzugefügt

  • ID ab924a3008d313efb2081ab9bc191da2bf15808b
  • Vorgänger 6755770b
  • Nachfolger 53af5bf8

Dialogbuchen: falsche Steuerschlüssel nach Entfernen von Zeilen

Steuersätze in den Werten von Selects werden inzwischen mit fünf
Nachkommastellen formatiert.

Unterschiede anzeigen:

bin/mozilla/gl.pl
707 707
      $form->{debitlock} = 1;
708 708
    }
709 709
    if ($debitcredit && $credittax) {
710
      $form->{"taxchart_$i"} = "$notax_id--0.00";
710
      $form->{"taxchart_$i"} = "$notax_id--0.00000";
711 711
    }
712 712
    if (!$debitcredit && $debittax) {
713
      $form->{"taxchart_$i"} = "$notax_id--0.00";
713
      $form->{"taxchart_$i"} = "$notax_id--0.00000";
714 714
    }
715 715
    $amount =
716 716
      ($form->{"debit_$i"} == 0)
......
718 718
      : $form->{"debit_$i"};
719 719
    my $j = $#a;
720 720
    if (($debitcredit && $credittax) || (!$debitcredit && $debittax)) {
721
      $form->{"taxchart_$i"} = "$notax_id--0.00";
721
      $form->{"taxchart_$i"} = "$notax_id--0.00000";
722 722
      $form->{"tax_$i"}      = 0;
723 723
    }
724 724
    my ($taxkey, $rate) = split(/--/, $form->{"taxchart_$i"});
......
1253 1253
      $form->{debitlock} = 1;
1254 1254
    }
1255 1255
    if ($debitcredit && $credittax) {
1256
      $form->{"taxchart_$i"} = "$notax_id--0.00";
1256
      $form->{"taxchart_$i"} = "$notax_id--0.00000";
1257 1257
    }
1258 1258
    if (!$debitcredit && $debittax) {
1259
      $form->{"taxchart_$i"} = "$notax_id--0.00";
1259
      $form->{"taxchart_$i"} = "$notax_id--0.00000";
1260 1260
    }
1261 1261
    my $amount = ($form->{"debit_$i"} == 0)
1262 1262
            ? $form->{"credit_$i"}
1263 1263
            : $form->{"debit_$i"};
1264 1264
    my $j = $#a;
1265 1265
    if (($debitcredit && $credittax) || (!$debitcredit && $debittax)) {
1266
      $form->{"taxchart_$i"} = "$notax_id--0.00";
1266
      $form->{"taxchart_$i"} = "$notax_id--0.00000";
1267 1267
      $form->{"tax_$i"}      = 0;
1268 1268
    }
1269 1269
    my ($taxkey, $rate) = split(/--/, $form->{"taxchart_$i"});

Auch abrufbar als: Unified diff