@extends('layout.default') @section('title', $__t('Chores overview')) @section('activeNav', 'choresoverview') @section('viewJsName', 'choresoverview') @push('pageStyles') @endpush @section('content')
@if(GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS)
@endif
 {{ $__t('Status') }}
@if(GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS)
 {{ $__t('Assignment') }}
@endif
@include('components.userfields_thead', array( 'userfields' => $userfields )) @foreach($currentChores as $curentChoreEntry) @endif @include('components.userfields_tbody', array( 'userfields' => $userfields, 'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $curentChoreEntry->chore_id) )) @endforeach
{{ $__t('Chore') }} {{ $__t('Next estimated tracking') }} {{ $__t('Last tracked') }} {{ $__t('Assigned to') }} Hidden status Hidden assigned to user id
@if(FindObjectInArrayByPropertyValue($chores, 'id', $curentChoreEntry->chore_id)->period_type !== \Grocy\Services\ChoresService::CHORE_PERIOD_TYPE_MANUALLY) {{ $curentChoreEntry->next_estimated_execution_time }} @else - @endif {{ $curentChoreEntry->last_tracked_time }} @if(!empty($curentChoreEntry->next_execution_assigned_to_user_id)) {{ FindObjectInArrayByPropertyValue($users, 'id', $curentChoreEntry->next_execution_assigned_to_user_id)->display_name }} @else - @endif @if(FindObjectInArrayByPropertyValue($chores, 'id', $curentChoreEntry->chore_id)->period_type !== \Grocy\Services\ChoresService::CHORE_PERIOD_TYPE_MANUALLY && $curentChoreEntry->next_estimated_execution_time < date('Y-m-d H:i:s')) overdue @elseif(FindObjectInArrayByPropertyValue($chores, 'id' , $curentChoreEntry->chore_id)->period_type !== \Grocy\Services\ChoresService::CHORE_PERIOD_TYPE_MANUALLY && $curentChoreEntry->next_estimated_execution_time < date('Y-m-d H:i:s', strtotime('+' . $nextXDays . ' days' ))) duesoon @endif @if(!empty($curentChoreEntry->next_execution_assigned_to_user_id)) xx{{ $curentChoreEntry->next_execution_assigned_to_user_id }}xx
@stop