Revision daa00fb8
SL/Controller/BankTransaction.pm | ||
---|---|---|
182 | 182 |
|
183 | 183 |
foreach my $open_invoice (@all_open_invoices) { |
184 | 184 |
($open_invoice->{agreement}, $open_invoice->{rule_matches}) = $bt->get_agreement_with_invoice($open_invoice, |
185 |
sepa_export_items => $all_open_sepa_export_items, |
|
185 |
# sepa_export_items => $all_open_sepa_export_items,
|
|
186 | 186 |
); |
187 | 187 |
$open_invoice->{realamount} = $::form->format_amount(\%::myconfig, |
188 | 188 |
$open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1), 2); |
SL/DB/BankTransaction.pm | ||
---|---|---|
54 | 54 |
|
55 | 55 |
|
56 | 56 |
sub get_agreement_with_invoice { |
57 |
my ($self, $invoice, %params) = @_;
|
|
57 |
my ($self, $invoice) = @_; |
|
58 | 58 |
|
59 | 59 |
carp "get_agreement_with_invoice needs an invoice object as its first argument" |
60 | 60 |
unless ref($invoice) eq 'SL::DB::Invoice' or ref($invoice) eq 'SL::DB::PurchaseInvoice'; |
Auch abrufbar als: Unified diff
Hin- und Her: die parameter seis sind überhaupt nicht notwendig und ...
... waren es auch nie wirklich (macht es nur komplizierter)