{{html_entity_decode($report->name)}} ({{$totalHours}})

{{$report->formatted_date}}

@if(empty($reports))
{{ __('messages.report.no_record_available') }}
@endif @foreach($reports as $department)
{{html_entity_decode(ucwords($department['name']))}}
{{$department['time']}} ({{round($department['duration'] * 100 / $totalMinutes, 2)}} %) @can('manage_users') - [Cost: {{ number_format($department['cost']) }}]
The cost of all users will be counted and its total will be shown here.
@endcan

@foreach($department['clients'] as $client)
{{html_entity_decode(ucwords($client['name']))}}
{{$client['time']}} ({{round($client['duration'] * 100 / $totalMinutes, 2)}} %) @can('manage_users') - [Cost: {{ number_format($client['cost']) }}] @endcan
@foreach($client['projects'] as $project)
{{html_entity_decode(ucwords($project['name']))}}
{{$project['time']}} ({{round($project['duration'] * 100 / $client['duration'], 2)}} %) @can('manage_users') - [Cost: {{number_format($project['cost'])}}] @endcan
@foreach($project['users'] as $user)
{{html_entity_decode(ucwords($user['name']))}}
{{$user['time']}} ({{round($user['duration'] * 100 / $project['duration'], 2)}} %) @can('manage_users') - [Cost: {{ number_format($user['cost'])}}] @endcan
@foreach($user['tasks'] as $task)
{{html_entity_decode($task['name'])}} {{$task['time']}}
@endforeach
@endforeach
@endforeach
@endforeach
@endforeach