X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9acca8265cf669c44b6a642aabfa14d970397ab8..2a7034e427c759a02c560bb8d6e9ab6e262e34f3:/SL/Controller/TimeRecording.pm diff --git a/SL/Controller/TimeRecording.pm b/SL/Controller/TimeRecording.pm index b90af921f..5175af70e 100644 --- a/SL/Controller/TimeRecording.pm +++ b/SL/Controller/TimeRecording.pm @@ -254,7 +254,8 @@ sub init_all_time_recording_articles { } sub init_all_orders { - my $orders = SL::DB::Manager::Order->get_all(query => [or => [ closed => 0, closed => undef ], + my $orders = SL::DB::Manager::Order->get_all(query => [or => [ closed => 0, closed => undef ], + or => [ quotation => 0, quotation => undef ], '!customer_id' => undef]); return [ map { [$_->id, sprintf("%s %s", $_->number, $_->customervendor->name) ] } sort { $a->number <=> $b->number } @{$orders||[]} ]; }