Revision 68f05425
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/BackgroundJob/ConvertTimeRecordings.pm | ||
---|---|---|
79 | 79 |
|
80 | 80 |
my $time_recordings = SL::DB::Manager::TimeRecording->get_all(where => [date => { ge_lt => [ $from_date, $to_date ]}, |
81 | 81 |
or => [booked => 0, booked => undef], |
82 |
'!duration' => 0, |
|
83 |
'!duration' => undef, |
|
82 | 84 |
%customer_where], |
83 | 85 |
with_objects => ['customer']); |
84 | 86 |
|
SL/DB/DeliveryOrder.pm | ||
---|---|---|
202 | 202 |
my %part_by_part_id; |
203 | 203 |
my $entries; |
204 | 204 |
foreach my $source (@$sources) { |
205 |
next if !$source->duration; |
|
206 |
|
|
205 | 207 |
my $part_id = $source->part_id ? $source->part_id |
206 | 208 |
: $default_part_id ? $default_part_id |
207 | 209 |
: undef; |
Auch abrufbar als: Unified diff
Zeiterfassung: Konvertierung: Einträge ohne Dauer nicht bearbeiten