Revision 2a7034e4
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/Controller/TimeRecording.pm | ||
---|---|---|
254 | 254 |
} |
255 | 255 |
|
256 | 256 |
sub init_all_orders { |
257 |
my $orders = SL::DB::Manager::Order->get_all(query => [or => [ closed => 0, closed => undef ], |
|
257 |
my $orders = SL::DB::Manager::Order->get_all(query => [or => [ closed => 0, closed => undef ], |
|
258 |
or => [ quotation => 0, quotation => undef ], |
|
258 | 259 |
'!customer_id' => undef]); |
259 | 260 |
return [ map { [$_->id, sprintf("%s %s", $_->number, $_->customervendor->name) ] } sort { $a->number <=> $b->number } @{$orders||[]} ]; |
260 | 261 |
} |
Auch abrufbar als: Unified diff
Zeiterfassung: Eingabe: keine Angebote in Auftragsliste anzeigen