@php $user = Auth::user(); $userId = $user->id; $user->userType->name=='Administrador' ? $isAdmin = true : $isAdmin = false; @endphp
@if($data['data']->count() > 0)
🔒 Formulario GDPR - {{ $data['data']->first()->header->name }}
Sin Cambios...
@php $currentGroup = null; $currentType = null; @endphp @foreach($data['data'] as $form) @php if(!$isAdmin && $userId != $form->colaborator){ continue; } if($form->header->type == 'Revisión' && $form->apply != 1){ continue; } $currentItem = $form->item; // Reset item when group changes @endphp @if($currentGroup !== $form->groupItem->name) @php $currentGroup = $form->groupItem->name; $currentType = null; // Reset type when group changes @endphp @endif @if($currentType !== $form->typeItem->name) @php $currentType = $form->typeItem->name; @endphp @endif @if($form->header->type == 'Apertura') @endif @if($isAdmin && 1 == 0) @endif @if($form->header->type != 'Apertura') @endif @if($form->header->type != 'Apertura') @endif @endforeach

{{ __('gdpr.fields.' . $form->groupItem->name) }}

{{ __('gdpr.fields.' . $form->typeItem->name) }}

{{ __('gdpr.fields.' . $form->item) }} @if($form->itemTemplate->valoration > 0) @endif
lightbulb
@else
No se encontraron formularios GDPR para esta auditoría.
@endif