Invitation link
This link is shown once. Copy it now; use Resend to generate a replacement later.
@extends('layouts.admin') @section('title','Team management') @section('admin-content')
Create roles and tick the actions they grant. Permissions combine across roles. View is automatically included when another action for that section is granted. Owner-only controls cannot be added to a role.
@foreach($roles->push((object)['id'=>null,'name'=>'','permissions'=>'[]']) as $role)This link is shown once. Copy it now; use Resend to generate a replacement later.
Name: {{ $invitation->name ?: 'Not submitted' }} · Phone: {{ $invitation->phone ?: 'Not provided' }}
Expires: {{ $invitation->expires_at }} {{ config('app.timezone') }} · Submitted: {{ $invitation->submitted_at ?: 'Not submitted' }}
Roles: {{ $roles->whereIn('id',json_decode($invitation->role_ids,true))->pluck('name')->join(', ') }}
@if(in_array($invitation->status,['invited','pending'],true))@endif