@csrf
@foreach($games['types_game'] as $type)
@php $values = json_decode($type['betlimit_value'], true); $sel = json_decode($entity->bet_limits, true); @endphp @foreach ($values['values'] as $val => $label) @php $checked = (empty($sel[$type['code']])) ? $values['default'] : $sel[$type['code']]; @endphp @endforeach
@endforeach