@extends('layouts.app') @section('form-title') {{ __('Organisation') }} - {{ $organisation->name }} @endsection @section('form-sub-title') {{ __($organisation->type_names) }} @endsection @section('breadcrumb') @endsection @section('content') @push('child-style') @endpush
@if(canViewUpdate('create-project')) {{-- --}} @endif
{{-- Start group users list --}}
@include('groups.remove-user-from-group-form')
{{ __('users of org in the group', ['org' => $organisation->name, 'group' => $group->name]) }}
@forelse ($group_users as $user) @empty {{-- --}} @endforelse
{{ __('User') }} {{ __('Added') }} {{ __('Organisation') }} {{ __('Role') }} {{ __('Remove from group') }}
{{ $user->name }} {{ $user->added }} {{ $user->organisation->name }} {{ $user->displayRole() }} @if(canViewUpdate('delete-group-user'))

@endif
{{ __('No result found') }}
{{ $group_users->links() }}
{{-- End group users list --}} {{-- Start users list not in group from its own organisation --}}
{{ __('users of org not in the group', ['org' => $organisation->name, 'group' => $group->name]) }}
@forelse ($users_not_in_group as $user_not_in_group) @empty {{-- --}} @endforelse
{{ __('User') }} {{ __('Organisation') }} {{ __('Role') }} {{ __('Add to group') }}
{{ $user_not_in_group->name }} {{ $user_not_in_group->organisation->name }} {{ $user_not_in_group->displayRole() }} @if(canViewUpdate('add-group-user'))

@endif
{{ __('No result found') }}
{{ $users_not_in_group->links() }}
{{-- End users list not in group from its own organisation --}} {{-- Start users list not in group from Application Owner --}}
{{ __('users of org not in the group', ['org' => $app_owner_org->name, 'group' => $group->name]) }}
@forelse ($app_owner_users_not_in_group as $user_not_in_group) @empty {{-- --}} @endforelse
{{ __('User') }} {{ __('Organisation') }} {{ __('Role') }} {{ __('Add to group') }}
{{ $user_not_in_group->name }} {{ $user_not_in_group->organisation->name }} {{ $user_not_in_group->displayRole() }} @if(canViewUpdate('add-group-user'))

@endif
{{ __('No result found') }}
{{ $users_not_in_group->links() }}
{{-- End users list not in group from Application Owner --}} {{-- Start add user from other organisations --}} @if(canViewUpdate('add-group'))
{{ __('Add user') }}
@endif {{-- End add user from other organisations --}}
@include('groups.add-user-to-group-form') @endsection @push('child-scripts') @endpush