Revision 5cd79f63
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/DB/Helper/Payment.pm | ||
---|---|---|
174 | 174 |
|
175 | 175 |
push @new_acc_ids, $new_acc_trans->acc_trans_id; |
176 | 176 |
# deal with fxtransaction |
177 |
if ( $self->currency_id != $::instance_conf->get_currency_id ) { |
|
177 |
if ( $self->currency_id != $::instance_conf->get_currency_id && $exchangerate != 1) {
|
|
178 | 178 |
my $fxamount = _round($amount - ($amount * $exchangerate)); |
179 | 179 |
$new_acc_trans = SL::DB::AccTransaction->new(trans_id => $self->id, |
180 | 180 |
chart_id => $account_bank->id, |
Auch abrufbar als: Unified diff
Payment-Helper: Wechselkursgewinn und -Verlust nur mit Wechselkurs berechnen