@if(!empty($getSCCaseTypes)) @if(count($getSCCaseTypes)>0) @foreach($getSCCaseTypes as $item) @php $data["id"]=$item->id; $data["sc_skey"]=$item->sc_skey; @endphp @endforeach @endif @endif