From f6a4907436865c52e30f9a7181cfc75feaececc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 19 Apr 2021 14:33:53 +0200 Subject: [PATCH] Zeiterfassung: Lieferschein new_from_time_recording: Kosmetik/Typo im POD --- SL/DB/DeliveryOrder.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SL/DB/DeliveryOrder.pm b/SL/DB/DeliveryOrder.pm index 411132bc4..039310b20 100644 --- a/SL/DB/DeliveryOrder.pm +++ b/SL/DB/DeliveryOrder.pm @@ -227,9 +227,9 @@ sub new_from_time_recordings { } my $date = $source->start_time->to_kivitendo; - $entries->{$part_id}->{$date}->{duration} += $source->{rounding} ? - nhimult(0.25, ($source->duration_in_hours)) - : _round_total($source->duration_in_hours); + $entries->{$part_id}->{$date}->{duration} += $source->{rounding} + ? nhimult(0.25, ($source->duration_in_hours)) + : _round_total($source->duration_in_hours); # add content if not already in description my $new_description = $source->description_as_stripped_html; $entries->{$part_id}->{$date}->{content} .= '
  • ' . $new_description . '
  • ' @@ -402,7 +402,7 @@ order. =item C -Creates a new C instace from the time recordings +Creates a new C instance from the time recordings given as C<$sources>. All time recording entries must belong to the same customer. Time recordings are sorted by article and date. For each article a new delivery order item is created. If no article is associated with an -- 2.20.1