Revision 9deaed00
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/DB/DeliveryOrder.pm | ||
---|---|---|
213 | 213 |
die 'article unit must be time based for entry "' . $source->displayable_times . '"' if !$part_by_part_id{$part_id}->unit_obj->is_time_based; |
214 | 214 |
} |
215 | 215 |
|
216 |
my $date = $source->start_time->to_kivitendo;
|
|
216 |
my $date = $source->date->to_kivitendo;
|
|
217 | 217 |
$entries->{$part_id}->{$date}->{duration} += $params{rounding} |
218 | 218 |
? nhimult(0.25, ($source->duration_in_hours)) |
219 | 219 |
: _round_total($source->duration_in_hours); |
... | ... | |
223 | 223 |
$entries->{$part_id}->{$date}->{content} .= '<li>' . $new_description . '</li>' |
224 | 224 |
unless $entries->{$part_id}->{$date}->{content} =~ m/\Q$new_description/; |
225 | 225 |
|
226 |
$entries->{$part_id}->{$date}->{date_obj} = $source->start_time; # for sorting |
|
226 |
$entries->{$part_id}->{$date}->{date_obj} = $source->start_time || $source->date; # for sorting
|
|
227 | 227 |
} |
228 | 228 |
|
229 | 229 |
my @items; |
Auch abrufbar als: Unified diff
Zeiterfassung: Konvertierung: berücksichtigen, dass Startzeit fehlen kann