diff --git a/resources/views/projects/show.blade.php b/resources/views/projects/show.blade.php index 69a4205d5c39..65fc33182f90 100644 --- a/resources/views/projects/show.blade.php +++ b/resources/views/projects/show.blade.php @@ -89,7 +89,7 @@ {{ trans('texts.duration') }} {{ Utils::formatTime($chartData->duration) }} - @if ($project->budgeted_hours) + @if (floatval($project->budgeted_hours)) [{{ round($chartData->duration / ($project->budgeted_hours * 60 * 60) * 100) }}%] @endif