@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)
@endif
{{ $reward->quantity }} {{ $reward->reward()->first()->name }}
@endforeach
@endif
@endif
@endforeach