@php require_frontend_packages(['datatables']); @endphp @extends('layout.default') @section('title', $__t('Chores journal')) @section('content')

@yield('title')


 {{ $__t('Chore') }}
 {{ $__t('Date range') }}
@if(GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS) @endif @include('components.userfields_thead', array( 'userfields' => $userfields )) @foreach($choresLog as $choreLogEntry) @if(GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS) @endif @include('components.userfields_tbody', array( 'userfields' => $userfields, 'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $choreLogEntry->id) )) @endforeach
{{ $__t('Chore') }} {{ $__t('Tracked time') }}{{ $__t('Done by') }}
{{ FindObjectInArrayByPropertyValue($chores, 'id', $choreLogEntry->chore_id)->name }} @if($choreLogEntry->undone == 1)
{{ $__t('Undone on') . ' ' . $choreLogEntry->undone_timestamp }} @endif
{{ $choreLogEntry->tracked_time }} @if($choreLogEntry->skipped == 1) {{ $__t('Skipped') }} @endif @if ($choreLogEntry->done_by_user_id !== null && !empty($choreLogEntry->done_by_user_id)) {{ GetUserDisplayName(FindObjectInArrayByPropertyValue($users, 'id', $choreLogEntry->done_by_user_id)) }} @else {{ $__t('Unknown') }} @endif
@stop