Revision 169286a7
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/Controller/TopQuickSearch/GLTransaction.pm | ||
---|---|---|
39 | 39 |
my (@glfilter, @arfilter, @apfilter); |
40 | 40 |
|
41 | 41 |
push( @glfilter, (or => [ description => $descriptionquery, reference => $referencequery ] ) ); |
42 |
push( @arfilter, (or => [ invnumber => $arinvnumberquery, name => $namequery ] ) ); |
|
43 |
push( @apfilter, (or => [ invnumber => $apinvnumberquery, name => $namequery ] ) ); |
|
42 |
push( @arfilter, (or => [ invnumber => $arinvnumberquery, name => $namequery ] ) );
|
|
43 |
push( @apfilter, (or => [ invnumber => $apinvnumberquery, name => $namequery ] ) );
|
|
44 | 44 |
|
45 | 45 |
my $gls = SL::DB::Manager::GLTransaction->get_all( query => [ @glfilter ], limit => $limit, sort_by => 'transdate DESC'); |
46 | 46 |
my $ars = SL::DB::Manager::Invoice->get_all( query => [ @arfilter ], limit => $limit, sort_by => 'transdate DESC', with_objects => [ 'customer' ]); |
47 |
my $aps = SL::DB::Manager::PurchaseInvoice->get_all(query => [ @apfilter ], limit => $limit, sort_by => 'transdate DESC', with_objects => [ 'vendor' ]); |
|
47 |
my $aps = SL::DB::Manager::PurchaseInvoice->get_all(query => [ @apfilter ], limit => $limit, sort_by => 'transdate DESC', with_objects => [ 'vendor' ]);
|
|
48 | 48 |
|
49 | 49 |
my @data = rev_sort_by { $_->{'sortorder'} } |
50 | 50 |
map { |
Auch abrufbar als: Unified diff
FiBu Schnellsuche Codeformatierung