diff --git a/app/Service/LocalizationService.php b/app/Service/LocalizationService.php index 54f6516e..b2269812 100644 --- a/app/Service/LocalizationService.php +++ b/app/Service/LocalizationService.php @@ -80,7 +80,7 @@ class LocalizationService if ($this->intervalFormat === IntervalFormat::Decimal) { $interval->cascade(); - return $this->formatNumber($interval->totalHours); + return $this->formatNumber($interval->totalHours).' h'; } elseif ($this->intervalFormat === IntervalFormat::HoursMinutes) { $interval->cascade(); diff --git a/resources/views/reports/time-entry-aggregate/pdf.blade.php b/resources/views/reports/time-entry-aggregate/pdf.blade.php index 68757b23..11e9e2e6 100644 --- a/resources/views/reports/time-entry-aggregate/pdf.blade.php +++ b/resources/views/reports/time-entry-aggregate/pdf.blade.php @@ -1,12 +1,12 @@ @use('Brick\Math\BigDecimal') @use('Brick\Money\Money') -@use('PhpOffice\PhpSpreadsheet\Cell\DataType') +@use('Illuminate\Support\Carbon') @use('Carbon\CarbonInterval') @inject('colorService', 'App\Service\ColorService')
- +