@extends('layout.default') @section('title', $L('Habits overview')) @section('activeNav', 'habitsoverview') @section('viewJsName', 'habitsoverview') @push('pageScripts') @endpush @section('content')

@yield('title')

@foreach($currentHabits as $curentHabitEntry) @endforeach
# {{ $L('Habit') }} {{ $L('Next estimated tracking') }} {{ $L('Last tracked') }}
{{ FindObjectInArrayByPropertyValue($habits, 'id', $curentHabitEntry->habit_id)->name }} @if(FindObjectInArrayByPropertyValue($habits, 'id', $curentHabitEntry->habit_id)->period_type === \Grocy\Services\HabitsService::HABIT_TYPE_DYNAMIC_REGULAR) {{ $curentHabitEntry->next_estimated_execution_time }} @else ... @endif {{ $curentHabitEntry->last_tracked_time }}
@stop