@extends('layout.default') @section('title', $__t('Tasks')) @section('activeNav', 'tasks') @section('viewJsName', 'tasks') @push('pageStyles') @endpush @section('content')
 {{ $__t('Status') }}
@include('components.userfields_thead', array( 'userfields' => $userfields )) @foreach($tasks as $task) @include('components.userfields_tbody', array( 'userfields'=> $userfields, 'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $task->id) )) @endforeach
{{ $__t('Task') }} {{ $__t('Due') }} {{ $__t('Category') }} {{ $__t('Assigned to') }} Hidden status Hidden category_id
@if($task->done == 0) @else @endif {{ $task->name }} {{ $task->due_date }} @if($task->category_id != null) {{ FindObjectInArrayByPropertyValue($taskCategories, 'id', $task->category_id)->name }} @else {{ $__t('Uncategorized') }}@endif @if($task->assigned_to_user_id != null) {{ GetUserDisplayName(FindObjectInArrayByPropertyValue($users, 'id', $task->assigned_to_user_id)) }} @endif @if($task->done == 1) text-muted @endif @if(!empty($task->due_date) && $task->due_date < date('Y-m-d')) overdue @elseif(!empty($task->due_date) && $task->due_date < date('Y-m-d', strtotime('+' . $nextXDays . ' days' ))) duesoon @endif @if($task->category_id != null) {{ FindObjectInArrayByPropertyValue($taskCategories, 'id', $task->category_id)->name }} @else {{ $__t('Uncategorized') }} @endif
@stop