@php use App\Models\Champion; use App\Models\ChampionSkin; @endphp

Sale Rotation

All champions & skins on sale

Champions on Sale

@foreach($sales['CHAMPION'] as $sale) {{json_encode($sale)}}
@php $champion = Champion::where('champion_id', $sale['id'])->first(); @endphp
{{ $champion->name }}
@endforeach

Skins on Sale

@foreach($sales['CHAMPION_SKIN'] as $sale) {{json_encode($sale)}}
@endforeach