@lang('app.employee') @lang('modules.timeLogs.startTime') @lang('modules.timeLogs.endTime') @lang('modules.employees.hoursLogged') @forelse ($task->approvedTimeLogs as $item) {{ $item->start_time->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) }} @if (!is_null($item->end_time)) {{ $item->start_time->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) }} @else {{ __('app.active') }} @endif @php $timeLog = intdiv($item->total_minutes, 60) . ' ' . __('app.hrs') . ' '; if ($item->total_minutes % 60 > 0) { $timeLog .= $item->total_minutes % 60 . ' ' . __('app.mins'); } @endphp {{ $timeLog }} @empty @endforelse