@foreach ($input as $key => $item) @if (!empty($item['status']))
@if (str_contains($item['type'] ?? '', 'upload_')) @php $uploadType = str_replace('upload_', '', $item['type']); @endphp @else @endif
@endif @endforeach