Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 12727b13

Von Sven Schöling vor mehr als 8 Jahren hinzugefügt

  • ID 12727b136690f21b83182f05db72d7aeaa93ea5d
  • Vorgänger 62726dfd
  • Nachfolger 335fc788

Revert "Belege runden, und Rundungsdifferenzen auf Extrakonten buchen."

This reverts commit 422f2f17365ea7879c14b902c5db1e4cd7023e48.

Unterschiede anzeigen:

SL/OE.pm
690 690
  my $tax = 0;
691 691
  map { $tax += $form->round_amount($taxaccounts{$_}, 2) } keys %taxaccounts;
692 692

  
693
  $amount = $form->round_amount($netamount + $tax, 2, 1);
693
  $amount = $form->round_amount($netamount + $tax, 2);
694 694
  $netamount = $form->round_amount($netamount, 2);
695 695

  
696 696
  if ($form->{currency} eq $form->{defaultcurrency}) {
......
956 956
                     (SELECT c.accno FROM chart c WHERE d.income_accno_id    = c.id) AS income_accno,
957 957
                     (SELECT c.accno FROM chart c WHERE d.expense_accno_id   = c.id) AS expense_accno,
958 958
                     (SELECT c.accno FROM chart c WHERE d.fxgain_accno_id    = c.id) AS fxgain_accno,
959
                     (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id    = c.id) AS fxloss_accno,
960
                     (SELECT c.accno FROM chart c WHERE d.rndgain_accno_id   = c.id) AS rndgain_accno,
961
                     (SELECT c.accno FROM chart c WHERE d.rndloss_accno_id   = c.id) AS rndloss_accno
959
                     (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id    = c.id) AS fxloss_accno
962 960
              $query_add
963 961
              FROM defaults d|;
964 962
  my $ref = selectfirst_hashref_query($form, $dbh, $query);

Auch abrufbar als: Unified diff