Revision 251171c1
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
544 | 544 |
for my $i (1 .. $form->{paidaccounts}) { |
545 | 545 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
546 | 546 |
if ($form->{"exchangerate_$i"}) { |
547 |
my $bt_acc_trans; |
|
548 | 547 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
549 | 548 |
if ($bt_acc_trans) { |
550 | 549 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
bin/mozilla/ar.pl | ||
---|---|---|
485 | 485 |
for my $i (1 .. $form->{paidaccounts}) { |
486 | 486 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
487 | 487 |
if ($form->{"exchangerate_$i"}) { |
488 |
my $bt_acc_trans; |
|
489 | 488 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
490 | 489 |
if ($bt_acc_trans) { |
491 | 490 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
bin/mozilla/ir.pl | ||
---|---|---|
183 | 183 |
$form->{paidaccounts} = $i; |
184 | 184 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
185 | 185 |
if ($form->{"exchangerate_$i"}) { |
186 |
my $bt_acc_trans; |
|
187 | 186 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
188 | 187 |
if ($bt_acc_trans) { |
189 | 188 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
bin/mozilla/is.pl | ||
---|---|---|
237 | 237 |
$form->{paidaccounts} = $i; |
238 | 238 |
# hook for calc of of fx_paid and check if banktransaction has a record exchangerate |
239 | 239 |
if ($form->{"exchangerate_$i"}) { |
240 |
my $bt_acc_trans; |
|
241 | 240 |
my $bt_acc_trans = SL::DB::Manager::BankTransactionAccTrans->find_by(acc_trans_id => $form->{"acc_trans_id_$i"}); |
242 | 241 |
if ($bt_acc_trans) { |
243 | 242 |
if ($bt_acc_trans->bank_transaction->exchangerate > 0) { |
Auch abrufbar als: Unified diff
Wechselkurs-Optimierung: Variable nicht doppelt deklarieren.