@if (!in_array('client', user_roles()))
@if ($addPermission == 'all')
@if (!(isset($client)) && !(isset($employee)) && in_array('clients', user_modules()) && in_array('employees', user_modules()))
@elseif(!in_array('employees', user_modules()))
@elseif(!in_array('clients', user_modules()))
@endif
@if (isset($client) && !is_null($client))
@else
@if(isset($user_type) && $user_type == 'client')
@foreach ($clients as $client)
@endforeach
@else
@foreach ($clients as $client)
@endforeach
@endif
@endif
@if(isset($employee) && !is_null($employee))
@else
@endif
@else
@endif
@else
@endif
@if($manageGroupPermission == 'all')
@endif
@if (!in_array('client', user_roles()))
@if ($manageAgentPermission == 'all')
@endif
@endif
@if ($manageTypePermission == 'all')
@endif
{{--
--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- @if ($manageChannelPermission == 'all')--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- @endif--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{-- --}}
{{--
--}}