Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a1706448

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID a1706448cfa94e9bb45c0d58663ebfc6584a2773
  • Vorgänger f4d29b45
  • Nachfolger 47713b33

Form: setze 'transdate' nicht in der From beim Verknüpfen mit Steuer

Unterschiede anzeigen:

SL/Form.pm
2613 2613
    # get date
2614 2614
    $query =
2615 2615
       qq|SELECT
2616
            current_date AS transdate, d.closedto, d.revtrans,
2616
            d.closedto, d.revtrans,
2617 2617
            (SELECT cu.name FROM currencies cu WHERE cu.id=d.currency_id) AS defaultcurrency,
2618 2618
            (SELECT c.accno FROM chart c WHERE d.fxgain_accno_id = c.id) AS fxgain_accno,
2619 2619
            (SELECT c.accno FROM chart c WHERE d.fxloss_accno_id = c.id) AS fxloss_accno,
......
2627 2627
    $self->lastname_used($dbh, $myconfig, $table, $module) unless ($self->{"$self->{vc}_id"});
2628 2628
    $self->{currency} = $self->{defaultcurrency}           unless $self->{currency};
2629 2629
    $self->{exchangerate} =
2630
      $self->check_exchangerate($myconfig, $self->{currency}, $self->{transdate}, $fld);
2630
      $self->check_exchangerate($myconfig, $self->{currency}, $self->current_date(), $fld);
2631 2631
  }
2632 2632

  
2633 2633
  $main::lxdebug->leave_sub();

Auch abrufbar als: Unified diff