Revision dc0a81db
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
537 | 537 |
for my $i (1 .. $form->{paidaccounts}) { |
538 | 538 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
539 | 539 |
if ($form->{"exchangerate_$i"}) { |
540 |
my $bt_acc_trans; |
|
541 | 540 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
542 | 541 |
if ($bt_acc_trans) { |
543 | 542 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
bin/mozilla/ar.pl | ||
---|---|---|
478 | 478 |
for my $i (1 .. $form->{paidaccounts}) { |
479 | 479 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
480 | 480 |
if ($form->{"exchangerate_$i"}) { |
481 |
my $bt_acc_trans; |
|
482 | 481 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
483 | 482 |
if ($bt_acc_trans) { |
484 | 483 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
bin/mozilla/ir.pl | ||
---|---|---|
178 | 178 |
$form->{paidaccounts} = $i; |
179 | 179 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
180 | 180 |
if ($form->{"exchangerate_$i"}) { |
181 |
my $bt_acc_trans; |
|
182 | 181 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
183 | 182 |
if ($bt_acc_trans) { |
184 | 183 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
bin/mozilla/is.pl | ||
---|---|---|
236 | 236 |
$form->{paidaccounts} = $i; |
237 | 237 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
238 | 238 |
if ($form->{"exchangerate_$i"}) { |
239 |
my $bt_acc_trans; |
|
240 | 239 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
241 | 240 |
if ($bt_acc_trans) { |
242 | 241 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
Auch abrufbar als: Unified diff
Wechselkurs-Optimierung: Variable nicht doppelt deklarieren.