Revision 6be10c6a
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/DB/Helper/Payment.pm | ||
---|---|---|
79 | 79 |
# currency is either passed or use the invoice currency if it differs from the default currency |
80 | 80 |
# TODO remove |
81 | 81 |
my ($exchangerate,$currency); |
82 |
if ($params{currency} || $params{currency_id} || $self->currency_id != $::instance_conf->get_currency_id) {
|
|
82 |
if ($params{currency} || $params{currency_id}) { |
|
83 | 83 |
if ($params{currency} || $params{currency_id} ) { # currency was specified |
84 | 84 |
$currency = SL::DB::Manager::Currency->find_by(name => $params{currency}) || SL::DB::Manager::Currency->find_by(id => $params{currency_id}); |
85 | 85 |
} else { # use invoice currency |
Auch abrufbar als: Unified diff
Payment-Helper: Fremdwährung nur über param steuern und nicht über den Beleg