From: Bernd Bleßmann Date: Mon, 17 May 2021 09:48:18 +0000 (+0200) Subject: Zeiterfassung: Eingabe: keine Angebote in Auftragsliste anzeigen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~220 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2a7034e427c759a02c560bb8d6e9ab6e262e34f3;p=kivitendo-erp.git Zeiterfassung: Eingabe: keine Angebote in Auftragsliste anzeigen --- 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||[]} ]; }