Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 030c2086

Von Rolf Fluehmann vor mehr als 8 Jahren hinzugefügt

  • ID 030c208648ddd8137d8fab33bb8b2eb87f5c080f
  • Vorgänger fc1e3973
  • Nachfolger 39b80fd2

Belege runden, und Rundungsdifferenzen auf Extrakonten buchen.

Unterschiede anzeigen:

SL/Form.pm
2886 2886
           d.closedto, d.revtrans,
2887 2887
           (SELECT cu.name FROM currencies cu WHERE cu.id=d.currency_id) AS defaultcurrency,
2888 2888
           (SELECT c.accno FROM chart c WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
2889
           (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id = c.id) AS fxloss_accno
2889
           (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
2890
           (SELECT c.accno FROM chart c WHERE d.rndgain_accno_id = c.id) AS rndgain_accno,
2891
           (SELECT c.accno FROM chart c WHERE d.rndloss_accno_id = c.id) AS rndloss_accno
2890 2892
         FROM defaults d|;
2891 2893
    $ref = selectfirst_hashref_query($self, $dbh, $query);
2892 2894
    map { $self->{$_} = $ref->{$_} } keys %$ref;
......
2899 2901
            current_date AS transdate, d.closedto, d.revtrans,
2900 2902
            (SELECT cu.name FROM currencies cu WHERE cu.id=d.currency_id) AS defaultcurrency,
2901 2903
            (SELECT c.accno FROM chart c WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
2902
            (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id = c.id) AS fxloss_accno
2904
            (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
2905
            (SELECT c.accno FROM chart c WHERE d.rndgain_accno_id = c.id) AS rndgain_accno,
2906
            (SELECT c.accno FROM chart c WHERE d.rndloss_accno_id = c.id) AS rndloss_accno
2903 2907
          FROM defaults d|;
2904 2908
    $ref = selectfirst_hashref_query($self, $dbh, $query);
2905 2909
    map { $self->{$_} = $ref->{$_} } keys %$ref;

Auch abrufbar als: Unified diff