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

@yield('title')

{{ $L('#1 habits are due to be done within the next #2 days', $countDueNextXDays, $nextXDays) }}

{{ $L('#1 habits are overdue to be done', $countOverdue) }}

@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) {{ $nextHabitTimes[$curentHabitEntry->habit_id] }} @else ... @endif {{ $curentHabitEntry->last_tracked_time }}
@stop