{{ $task->board_column->column_name }}
@foreach ($task->users as $item)
@endforeach
@if($task->create_by)
{{ ucwords($task->create_by->name) }}
@endif
@if($task->start_date)
{{ $task->start_date->format($global->date_format) }}
@endif
@if($task->due_date)
due_date->isPast()) class="text-danger" @endif>
{{ $task->due_date->format($global->date_format) }}
@endif
@if ($task->estimate_hours > 0 || $task->estimate_minutes > 0)
{{ $task->estimate_hours }} @lang('app.hrs')
{{ $task->estimate_minutes }} @lang('app.mins')
@php
$timeLog = intdiv($task->timeLogged->sum('total_minutes'), 60) . ' ' . __('app.hrs') . ' ';
if (($task->timeLogged->sum('total_minutes') % 60) > 0) {
$timeLog .= ($task->timeLogged->sum('total_minutes') % 60) . ' ' . __('app.mins');
}
@endphp
total_estimated_minutes < $task->timeLogged->sum('total_minutes')) class="text-danger font-semi-bold" @endif>
{{ $timeLog }}
@else
@php
$timeLog = intdiv($task->timeLogged->sum('total_minutes'), 60) . ' ' . __('app.hrs') . ' ';
if (($task->timeLogged->sum('total_minutes') % 60) > 0) {
$timeLog .= ($task->timeLogged->sum('total_minutes') % 60) . ' ' . __('app.mins');
}
@endphp
{{ $timeLog }}
@endif
@if(sizeof($task->label))
@foreach($task->label as $key => $label)
@endforeach
@endif