X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9c2d09b80c7fe80982c4e63b5fb051002a152411..78edb3227aaa7c9dcb26bbe1781cdb1027e648f9:/SL/DB/DeliveryOrder.pm diff --git a/SL/DB/DeliveryOrder.pm b/SL/DB/DeliveryOrder.pm index 9d00da021..6068b13aa 100644 --- a/SL/DB/DeliveryOrder.pm +++ b/SL/DB/DeliveryOrder.pm @@ -213,7 +213,7 @@ sub new_from_time_recordings { die 'article unit must be time based for entry "' . $source->displayable_times . '"' if !$part_by_part_id{$part_id}->unit_obj->is_time_based; } - my $date = $source->start_time->to_kivitendo; + my $date = $source->date->to_kivitendo; $entries->{$part_id}->{$date}->{duration} += $params{rounding} ? nhimult(0.25, ($source->duration_in_hours)) : _round_total($source->duration_in_hours); @@ -223,7 +223,7 @@ sub new_from_time_recordings { $entries->{$part_id}->{$date}->{content} .= '