@extends('layout.default') @section('title', $__t('Chores overview')) @section('activeNav', 'choresoverview') @section('viewJsName', 'choresoverview') @push('pageScripts') @endpush @section('content')

@yield('title') {{ $__t('Journal') }}

@include('components.userfields_thead', array( 'userfields' => $userfields )) @foreach($currentChores as $curentChoreEntry) @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
@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($curentChoreEntry->next_execution_assigned_to_user_id == GROCY_USER_ID) assigned-to-me @endif
@stop