{{ $ticket->status}}
{{-- @foreach ($task->users as $item) --}}

{{ ucwords($ticket->assignTo->name) }}
{{-- @endforeach --}}
@if($ticket->assigned_by)

{{ ucwords($ticket->assignBy->name) }}
@endif
@if($ticket->created_at)
{{ \Carbon\carbon::parse($ticket->created_at)->format($global->date_format) }}
@endif
@php
$timeLog = intdiv($ticket->timeLogged->sum('total_minutes'), 60) . ' ' . __('app.hrs') . ' ';
if (($ticket->timeLogged->sum('total_minutes') % 60) > 0) {
$timeLog .= ($ticket->timeLogged->sum('total_minutes') % 60) . ' ' . __('app.mins');
}
@endphp
{{ $timeLog }}