From af11d2b792619bf5b169eccd651ba1f443386284 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 30 Apr 2021 18:57:10 +0200 Subject: [PATCH] Zeiterfassung: Konvertierung: von-bis-Filter benutzt Datum statt End-Zeit. End-Zeit gibt es nicht bei Eingabe mit Datum/Dauer. --- SL/BackgroundJob/ConvertTimeRecordings.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/BackgroundJob/ConvertTimeRecordings.pm b/SL/BackgroundJob/ConvertTimeRecordings.pm index f2139aec3..d33be0b91 100644 --- a/SL/BackgroundJob/ConvertTimeRecordings.pm +++ b/SL/BackgroundJob/ConvertTimeRecordings.pm @@ -76,8 +76,8 @@ sub run { my %customer_where; %customer_where = ('customer.customernumber' => $self->data->{customernumbers}) if 'ARRAY' eq ref $self->data->{customernumbers}; - my $time_recordings = SL::DB::Manager::TimeRecording->get_all(where => [end_time => { ge_lt => [ $from_date, $to_date ]}, - or => [booked => 0, booked => undef], + my $time_recordings = SL::DB::Manager::TimeRecording->get_all(where => [date => { ge_lt => [ $from_date, $to_date ]}, + or => [booked => 0, booked => undef], %customer_where], with_objects => ['customer']); -- 2.20.1