]> wagnertech.de Git - mfinanz.git/blobdiff - SL/BackgroundJob/ConvertTimeRecordings.pm
Zeiterfassung: Konvertierung: Abbrechen, wenn keine Einträge zu verarbeiten sind
[mfinanz.git] / SL / BackgroundJob / ConvertTimeRecordings.pm
index 1b2e53824608eed75ac201461b7e63d6bb1416a3..1236c3a1107bc45e67962c2b663136274d6216fb 100644 (file)
@@ -44,8 +44,7 @@ sub run {
                                                                                  '!duration' => undef,
                                                                                  %customer_where]);
 
-  # no time recordings at all ? -> better exit here before iterating a empty hash
-  # return undef or message unless ref $time_recordings->[0] eq SL::DB::Manager::TimeRecording;
+  return t8('No time recordings to convert') if scalar @$time_recordings == 0;
 
   my @donumbers;