Revision 4337b34b
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
708 | 708 |
$bank_transaction->exchangerate(undef); # maybe user reassigned bank_transaction |
709 | 709 |
} elsif ($default_rate != $fx_rate) { # set record (banktransaction) exchangerate |
710 | 710 |
$bank_transaction->exchangerate($fx_rate); # custom rate, will be displayed in ap, ir, is |
711 |
} elsif ($default_rate - $fx_rate < 0.001) {
|
|
711 |
} elsif (abs($default_rate - $fx_rate) < 0.001) {
|
|
712 | 712 |
# should be last valid state -> do nothing |
713 | 713 |
} else { die "Invalid exchange rate state:" . $default_rate . " " . $fx_rate; } |
714 | 714 |
|
Auch abrufbar als: Unified diff
Fallunterschied Wechselkurs vor pay_invoice, rundungssicherer