@foreach ($other as $k_o => $o)
@if (empty($o['status']))
@continue
@endif
@if (str_contains($k_o, 'row_'))
@php
$image_other = json_decode($data->other_image, true);
@endphp
@foreach ($o as $k_i => $i)
@php
if (empty($i['status'])) {
continue;
}
$idx = explode('_', $k_i)[1] - 1;
@endphp
@if (str_contains($i['type'], 'upload'))
@php
$read_only = !empty($i['readonly']);
@endphp
@endif
@endforeach
@endif
@endforeach