|
|
@endusercan
{{ __('SL') }}. | {{ __('Name') }} | @if (auth()->user()->accessToMultiBranch()){{ __('Branch') }} | @endif{{ __('Features') }} | {{ __('Action') }} |
|---|---|---|---|---|---|
| @endusercan | {{ ($users->currentPage() - 1) * $users->perPage() + $loop->iteration }} | {{ $user->name }} | @if (auth()->user()->accessToMultiBranch()){{ $user->branch->name ?? '' }} | @endif@php $count = 0; foreach ($user->visibility ?? [] as $module) { if (is_array($module)) { foreach ($module as $value) { if ($value == '1' || $value === true) { $count++; } } } } @endphp {{ $count }} |
|