@if ($daily->has_image) {{ $daily->name }} @endif

{!! $daily->parsed_description !!}

@if (Auth::user()) @if ($daily->has_button_image)
@csrf
@else
@csrf
@endif

@if ($daily->daily_timeframe == 'lifetime') You will be able to collect rewards once. @else You will be able to collect rewards {!! $daily->daily_timeframe !!}. @endif @if (Auth::check() && isset($cooldown)) You can collect rewards {!! pretty_date($cooldown) !!}! @endif
@else
@endif @if ($daily->progress_display != 'none')

Progress ({{ $timer->step ?? 0 }}/{{ $daily->maxStep }}) {!! add_help($daily->is_streak ? 'Progress will reset if you miss collecting your reward in the given timeframe.' : 'Progress is safe even if you miss collecting your reward in the given timeframe.') !!}

@foreach ($daily->rewards()->get()->groupBy('step') as $step => $rewards) @if ($step > 0)
{{ $step }}
@if ($step > ($timer->step ?? 0)) Locked @else Unlocked @endif
@if ($daily->progress_display == 'all' || $step <= ($timer->step ?? 0)) @foreach ($rewards as $reward)
@if ($reward->rewardImage)
{{ $reward->reward()->first()->name }}
@endif
{{ $reward->quantity }} {{ $reward->reward()->first()->name }}
@endforeach @endif
@endif @endforeach
@endif