@extends('layouts.dashboard') @section('title', __('Seat Licences')) @section('page_title', __('Seat Licences')) @section('content') @include('partials.how-it-works', ['key' => 'organization.licenses']) @include('organization.team._switcher', ['route' => 'organization.licenses.index']) @if($organization)
@forelse($licenses as $license)
@if($license->learning_path_id)@endif{{ $license->label() }} {{ $license->seats_used }} / {{ $license->seats_total }} {{ __('seats used') }} @if($license->expires_on) {{ __('Expires') }} {{ $license->expires_on->format('d M Y') }} @endif
@csrf
@csrf
{{ __('Skips people who already hold a seat; stops when the licence runs out. :n seats left.', ['n' => $license->seatsLeft()]) }}
    @forelse($license->assignments()->whereNull('revoked_at')->with('member')->get() as $assignment)
  • {{ $assignment->member?->name ?: $assignment->member?->email }}
    @csrf @method('DELETE')
  • @empty
  • {{ __('No one is using this licence yet.') }}
  • @endforelse
@empty
{{ __('No seat licences yet.') }}
@endforelse @if($licenses instanceof \Illuminate\Contracts\Pagination\Paginator) {{ $licenses->links() }} @endif
{{ __('New seat licence') }}
@csrf @if($paths->isNotEmpty())
{{ __('A path seat enrols the person in every course on the path.') }}
@endif
@endif @endsection @push('scripts') @endpush