-
+

{{ $organization->name }}

-
- @can('update', $organization) - +
- - @if(session('success')) -
- {{ session('success') }} -
- @endif - -
-
-
-
-
Информация
-
+ +
+
+
+
Информация
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Название:{{ $organization->name }}
ИНН/КПП:{{ $organization->inn ?? '—' }} / {{ $organization->kpp ?? '—' }}
Адрес:{{ $organization->address ?? '—' }}
Email:{{ $organization->email ?? '—' }}
Телефон:{{ $organization->phone ?? '—' }}
Статус: - @if($organization->is_active) - Активна - @else - Не активна - @endif -
Описание:{{ $organization->description ?? '—' }}
+
ИНН/КПП: {{ $organization->inn ?? '—' }} / {{ $organization->kpp ?? '—' }}
+
Адрес: {{ $organization->address ?? '—' }}
+
Телефон: {{ $organization->phone ?? '—' }}
+
Email: {{ $organization->email ?? '—' }}
+
Статус: + @if($organization->is_active) + Активна + @else + Не активна + @endif +
- -
-
-
-
Статистика
-
+
+
+
Статистика
-
-
{{ $organization->users->count() }}
-
Пользователей
+
+
{{ $organization->users->count() }}
+
Пользователей
-
-
{{ $organization->groups->count() }}
-
Групп
-
-
-
{{ $organization->courseRequests->count() }}
-
Заявок
+
+
{{ $organization->groups->count() }}
+
Групп
- +
-
-
+
+
Пользователи
- - Все пользователи - +
-
- @if($organization->users->count() > 0) -
    - @foreach($organization->users->take(5) as $user) -
  • - {{ $user->name }} - {{ $user->email }} -
  • - @endforeach -
- @if($organization->users->count() > 5) -
- + ещё {{ $organization->users->count() - 5 }} пользователей +
+
+ @if($organization->users->count() > 0) + + @else +

Нет пользователей

+ @endif
- @endif - @else -

Нет пользователей

- @endif
- +
-
-
+
+
Группы
- @can('create', App\Models\Group::class) - - - - @endcan +
-
- @if($organization->groups->count() > 0) -
    - @foreach($organization->groups->take(5) as $group) -
  • -
    - {{ $group->name }} - @if($group->description) -
    {{ Str::limit($group->description, 50) }} - @endif -
    -
    - - - - @can('update', $group) - - - - @endcan -
    -
  • - @endforeach -
- @if($organization->groups->count() > 5) -
- + ещё {{ $organization->groups->count() - 5 }} групп +
+
+ @if($organization->groups->count() > 0) + + @else +

Нет групп

+ @endif
- @endif - @else -

Нет групп

- @endif +
+
+
+
+ +
+ @@ -184,4 +120,257 @@