@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 @if(!empty($e_defects) || !empty($d_defects) || !empty($o_defects) ) @if(count($e_defects)>0 || count($d_defects)>0 || count($o_defects)>0)