All Cases
Own Cases
Certain Types
@if (isset($chkBoxSettings[3]) && $chkBoxSettings[3])
-- Select Forms --
@foreach ($all_forms->whereNotIn('id', $assignedTypes) as $form)
{{ $form->name }}
@endforeach
@if (count($assignedTypes) > 0)
@foreach ($assignedTypes as $formId)
@php
$form = $forms->firstWhere('id', $formId);
$selectedLocations = $assingedLocations[$formId] ?? []; // Get assigned locations for this specific form
@endphp
@if ($form->is_external_link == 0)
@else
@endif
@endforeach
@endif
@endif
Assigned to Another User
@if (isset($chkBoxSettings[4]) && $chkBoxSettings[4])
Select Users
@foreach ($users as $user)
@if (!in_array($user->id, $assignedUsers))
{{ $user->user->name }}
@endif
@endforeach
@if (count($assignedUsers) > 0)
@foreach ($assignedUsers as $userId)
@php
$user = $users->firstWhere('id', $userId);
@endphp
@if (isset($user))
@endif
@endforeach
@endif
@endif
Cases of Assigned Location
Assigned Contacts
@push('scripts')