@if(isset($data) && count($data) > 0)
| Type Title |
User Category |
@foreach($customer_agent_type_options as $option)
{{ $option->option }} |
@endforeach
@if($permission['edit'])
Action |
@endif
@foreach($data as $key => $type)
|
{{ $type->title }}
|
{{ $type->userType ? $type->userType->name : 'N/A' }}
|
@php
$settings = is_string($type->settings) ? json_decode($type->settings, true) : $type->settings;
@endphp
@foreach($customer_agent_type_options as $option)
@if(is_array($settings) && isset($settings[$option->id]))
@else
@endif
|
@endforeach
@if($permission['edit'])
|
@endif
@endforeach
@if($data->hasPages())
@endif
@else
@endif