@lang('app.task')
@lang('app.time')
@lang('modules.timeLogs.totalHours')
@lang('app.earnings')
@lang('app.action')
@forelse($timelogs as $item)
@if (!is_null($item->project_id) && !is_null($item->task_id))
{{ $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(company()->timezone)->format(company()->date_format . ' ' . company()->time_format) }}
{{ $item->end_time->timezone(company()->timezone)->format(company()->date_format . ' ' . company()->time_format) }}
{{ $item->hours }}
{{ currency_format($item->earnings) }}
@if ($item->approved)
@endif
@empty
@lang('messages.noRecordFound')
@endforelse