Saving Project - Whoops, something went wrong #1857

This commit is contained in:
Hillel Coren 2018-01-28 00:35:16 +02:00
parent 1a93c08a60
commit f40d0677b3

View File

@ -89,7 +89,7 @@
<td><small>{{ trans('texts.duration') }}</small></td> <td><small>{{ trans('texts.duration') }}</small></td>
<td style="text-align: right"> <td style="text-align: right">
{{ Utils::formatTime($chartData->duration) }} {{ Utils::formatTime($chartData->duration) }}
@if ($project->budgeted_hours) @if (floatval($project->budgeted_hours))
[{{ round($chartData->duration / ($project->budgeted_hours * 60 * 60) * 100) }}%] [{{ round($chartData->duration / ($project->budgeted_hours * 60 * 60) * 100) }}%]
@endif @endif
</td> </td>