@forelse ($timelogs as $item) @empty @endforelse
@lang('app.task') @lang('app.time') @lang('modules.timeLogs.totalHours') @lang('app.earnings') @lang('app.action')
@if (!is_null($item->project_id) && !is_null($item->task_id)) {{ $item->task->heading }}
{{ $item->project->project_name }} @elseif (!is_null($item->project_id)) {{ $item->project->project_name }} @elseif (!is_null($item->task_id)) {{ $item->task->heading }} @endif
{{ $item->start_time->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) }}
{{ $item->end_time ? $item->end_time->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) : __('app.working') }}
{{ intdiv($item->total_minutes, 60)." hrs" }} {{ currency_position($item->earnings, $global->currency->currency_symbol) }} @if ($item->approved) @else @endif @if (!$item->approved) @endif