Revision 18140010
Von Kivitendo Admin vor mehr als 9 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
316 | 316 |
my $all_open_ar_invoices = SL::DB::Manager::Invoice->get_all(where => \@where_sale, with_objects => 'customer'); |
317 | 317 |
my $all_open_ap_invoices = SL::DB::Manager::PurchaseInvoice->get_all(where => \@where_purchase, with_objects => 'vendor'); |
318 | 318 |
|
319 |
my @all_open_invoices; |
|
320 |
# filter out subcent differences from ap invoices
|
|
319 |
my @all_open_invoices = @{ $all_open_ar_invoices };
|
|
320 |
# add ap invoices, filtering out subcent open amounts
|
|
321 | 321 |
push @all_open_invoices, grep { abs($_->amount - $_->paid) >= 0.01 } @{ $all_open_ap_invoices }; |
322 | 322 |
|
323 | 323 |
@all_open_invoices = sort { $a->id <=> $b->id } @all_open_invoices; |
Auch abrufbar als: Unified diff
Bankerweiterung - bei Rechnung zuweisen Verkaufsrechnungen anzeigen
Das Feature war kaputt, offene Verkaufsrechnungen wurden nicht angezeigt.