@if (count($items) > 0)
@php
$i = 1;
@endphp
@if (in_array(true, $checkReward))
Reward
@foreach ($items as $allItem)
@foreach ($allItem['result'] as $item)
@if (isset($item['is_reward']) && $item['is_reward'] == 1)
{!! $item['reward_points'] !!}
{!! __('v2/front_site.item_points') !!}
{!! $item['description'] !!}
@endif
@endforeach
@endforeach
@endif
@foreach ($items as $category)
{!! $category['name'] !!}
@if (count($category['result']) > 0)
@foreach ($category['result'] as $item)
@if (authCustomer())
@if (empty($item['is_half']) && $category['id'] != 19)
@endif
@endif
{!! $item['offer_price_comma'] !!}
{!! $item['description'] !!}
@endforeach
@endif
@php
$i++;
@endphp
@endforeach
@endif