diff --git a/resources/views/reports/time-entry-aggregate-index-excel.blade.php b/resources/views/reports/time-entry-aggregate-index-excel.blade.php index 0c9d14d1..e31478ae 100644 --- a/resources/views/reports/time-entry-aggregate-index-excel.blade.php +++ b/resources/views/reports/time-entry-aggregate-index-excel.blade.php @@ -126,15 +126,27 @@ @else - =SUM(C2:C{{ $counter }}) + @if($counter > 1) + =SUM(C2:C{{ $counter }}) + @else + =0 + @endif - =SUM(D2:D{{ $counter }}) + @if($counter > 1) + =SUM(D2:D{{ $counter }}) + @else + =0 + @endif - =SUM(E2:E{{ $counter }}) + @if($counter > 1) + =SUM(E2:E{{ $counter }}) + @else + =0 + @endif @endif