From 1f42dfbeed9326866f67a63e52ac1eabec20bbcc Mon Sep 17 00:00:00 2001 From: Bernd Blessmann Date: Tue, 6 Sep 2011 13:23:30 +0200 Subject: [PATCH] Kosmetik --- SL/AP.pm | 2 +- bin/mozilla/ap.pl | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/SL/AP.pm b/SL/AP.pm index 2f52c6253..08ec7a353 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -250,7 +250,7 @@ sub post_transaction { # add paid transactions for my $i (1 .. $form->{paidaccounts}) { - if ($form->{"acc_trans_id_$i"} && $payments_only && ($::lx_office_conf{features}->{payments_changeable} == 0)) { + if ($form->{"acc_trans_id_$i"} && $payments_only && ($::lx_office_conf{features}->{payments_changeable} == 0)) { next; } diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index c97460877..bcd858ade 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -715,7 +715,7 @@ $jsscript $exchangerate = qq|{"exchangerate_$i"}>|; } else { - $exchangerate = qq|$form->{"exchangerate_$i"}|. + $exchangerate = qq|{"exchangerate_$i"}>$form->{"exchangerate_$i"}|; } } @@ -781,12 +781,12 @@ $jsscript qq|{"paid_project_id_$i"}>|; } - $column_data{"paid_$i"} = $paid; - $column_data{"AP_paid_$i"} = $AP_paid; - $column_data{"exchangerate_$i"} = qq|$exchangerate|; - $column_data{"datepaid_$i"} = $datepaid; - $column_data{"source_$i"} = $source; - $column_data{"memo_$i"} = $memo; + $column_data{"paid_$i"} = $paid; + $column_data{"AP_paid_$i"} = $AP_paid; + $column_data{"exchangerate_$i"} = qq|$exchangerate|; + $column_data{"datepaid_$i"} = $datepaid; + $column_data{"source_$i"} = $source; + $column_data{"memo_$i"} = $memo; $column_data{"paid_project_id_$i"} = $paid_project_id; map { print qq|$column_data{"${_}_$i"}\n| } @column_index; -- 2.20.1