@php $record_not_available = true; @endphp @foreach($projects as $project) @if($project->timeLogs->count() > 0) @php $record_not_available = false; @endphp
@lang('project::lang.task') | @lang('role.user') | @lang('project::lang.start_date_time') | @lang('project::lang.end_date_time') | @lang('project::lang.work_hour') | @lang('brand.note') |
---|---|---|---|---|---|
@if(isset($timeLog->task->subject))
{{$timeLog->task->subject}}
{{$timeLog->task->task_id}}
@endif
|
{{$timeLog->user->user_full_name}} | {{@format_datetime($timeLog->start_datetime)}} | {{@format_datetime($timeLog->end_datetime)}} | {{$start_datetime->diffForHumans($end_datetime, true)}} | {{$timeLog->note}} |
@php $hours = floor($total_sec / 3600); $minutes = floor(($total_sec / 60) % 60); @endphp {{sprintf('%02d:%02d', $hours, $minutes)}} |