From a4b49444e857ef293f5fa61dbacf72a1325f38e8 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Fri, 11 Aug 2017 12:11:18 +0200 Subject: [PATCH] Whitespace --- SL/Controller/BankTransaction.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index c36d93079..9e075deff 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -127,13 +127,13 @@ 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?1:-1); + my $factor = ($_->ar_id == $open_invoice->id ? 1 : -1); #$main::lxdebug->message(LXDebug->DEBUG2(),"sepa_exitem=".$_->id." for invoice ".$open_invoice->id." factor=".$factor); $open_invoice->{realamount} = $::form->format_amount(\%::myconfig,$open_invoice->amount*$factor,2); - push @{$open_invoice->{sepa_export_item}} , $_ ; + push @{$open_invoice->{sepa_export_item}}, $_; $open_invoice->{skonto_type} = $_->payment_type; $sepa_exports{$_->sepa_export_id} ||= { count => 0, is_ar => 0, amount => 0, proposed => 0, invoices => [], item => $_ }; - $sepa_exports{$_->sepa_export_id}->{count}++ ; + $sepa_exports{$_->sepa_export_id}->{count}++; $sepa_exports{$_->sepa_export_id}->{is_ar}++ if $_->ar_id == $open_invoice->id; $sepa_exports{$_->sepa_export_id}->{amount} += $_->amount * $factor; push @{ $sepa_exports{$_->sepa_export_id}->{invoices} }, $open_invoice; -- 2.20.1