@extends('layouts.app') @section('form-title') {{ __('Project') }} - {{ $project->title }} @endsection @section('form-sub-title') {{ $project->client->name }} @endsection @section('breadcrumb') @endsection @section('content') @include('partials.modals.maps') @push('child-style') @endpush
@include('project-restrictions.cancel-access-form') {{-- Start add restrictions section --}}
{{ __('Provide access to this project for a group or single user') }}
@csrf {{--
--}}
{{-- End add restrictions section --}} {{-- Start list restrictions --}}
{{ __('Restricted access') }}
{{-- Start group listing --}}
@forelse ($added_groups as $added_group) {{-- Start group users listing --}} @foreach ($group_users[$added_group->group->id] as $group_user) @endforeach {{-- End group users listing --}} @empty @endforelse
{{ __('Groups') }} {{ __('Users') }} {{ __('Organisation') }} {{ __('Cancel access') }}
{{ __($added_group->group->name) }} - {{ $added_group->group->organisation->name }} {{ $added_group->group->organisation->name }} {{ __('Cancel access') }}
{{ $group_user->name }} {{ $group_user->organisation->name }}
{{-- End group listing --}} {{-- Start user listing --}}
@forelse ($added_users as $added_user) @empty @endforelse
{{ __('Single users') }} {{ __('Organisation') }} {{ __('Cancel access') }}
{{ $added_user->user->name }} {{ $added_user->user->organisation->name }} {{ __('Cancel access') }}
{{-- End user listing --}}
{{-- End list restrictions --}}
@endsection @push('child-scripts') @endpush