From: Martin Helmling martin.helmling@octosoft.eu Date: Tue, 31 Jan 2017 12:40:02 +0000 (+0100) Subject: Banktransaction: Kontoauszug verbuchen überarbeitet(4) X-Git-Tag: release-3.5.4~1611 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5cd931eb35fdc48bded3ec9b45909dbd5f99f250;p=kivitendo-erp.git Banktransaction: Kontoauszug verbuchen überarbeitet(4) Tippfehler raus --- diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 7217e5fcc..98975e9d2 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -123,7 +123,7 @@ sub action_list { $open_invoice->{skonto_type} = 'without_skonto'; foreach ( @{$all_open_sepa_export_items}) { if ( $_->ap_id == $open_invoice->id || $_->ar_id == $open_invoice->id ) { - my $factor = ( $_->ar_id == $open_invoice->id>0?1:-1); + my $factor = ($_->ar_id == $open_invoice->id?1:-1); $main::lxdebug->message(LXDebug->DEBUG2(),"exitem=".$_->id." for invoice ".$open_invoice->id." factor=".$factor); $open_invoice->{realamount} = $::form->format_amount(\%::myconfig,$open_invoice->amount*$factor,2); $open_invoice->{sepa_export_item} = $_ ;