From: Bernd Blessmann Date: Tue, 6 Sep 2011 11:23:30 +0000 (+0200) Subject: Kosmetik X-Git-Tag: release-2.7.0beta1~312 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1f42dfbeed9326866f67a63e52ac1eabec20bbcc;p=kivitendo-erp.git Kosmetik --- 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;