@php $dataItemsDatosGenerales = $datasheet->datasheetFunetesDatosActivas->where('tipo', 1); $rowspanDatosGenerales = count($dataItemsDatosGenerales); $dataItemsAPIs = $datasheet->datasheetFunetesDatosActivas->where('tipo', 2); $rowspanAPIs = count($dataItemsAPIs); $dataItemsOtros = $datasheet->datasheetFunetesDatosActivas->where('tipo', 3); $rowspanOtros = count($dataItemsOtros); @endphp @if ($rowspanDatosGenerales > 0) @foreach ($dataItemsDatosGenerales->skip(1) as $item) @endforeach @else @endif @if ($rowspanAPIs > 0) @foreach ($dataItemsAPIs->skip(1) as $item) @endforeach @else @endif @if ($rowspanOtros > 0) @foreach ($dataItemsOtros->skip(1) as $item) @endforeach @else @endif
Datos Generales {!! html_entity_decode($dataItemsDatosGenerales->first()->descripcion ?? '', ENT_QUOTES, 'UTF-8') !!}
{!! html_entity_decode($item->descripcion ?? '', ENT_QUOTES, 'UTF-8') !!}
Datos Generales No hay datos
Integración con APIs {!! html_entity_decode($dataItemsAPIs->first()->descripcion ?? '', ENT_QUOTES, 'UTF-8') !!}
{!! html_entity_decode($item->descripcion ?? '', ENT_QUOTES, 'UTF-8') !!}
Integración con APIs No hay datos
Otros {!! html_entity_decode($dataItemsOtros->first()->descripcion ?? '', ENT_QUOTES, 'UTF-8') !!}
{!! html_entity_decode($item->descripcion ?? '', ENT_QUOTES, 'UTF-8') !!}
Otros No hay datos