@extends('layouts.sidebar') @section('title', 'Nomadic - Partner Onboarding Tokens') @section('content')

Partner Onboarding Tokens

Back to Applications
@if(session('success')) @endif @if(session('error')) @endif @if(session('generated_url')) @endif
{{-- Generate Token Form --}}
Generate New Token
@csrf
Reference label for your records
Contact email for the partner
If checked, an invitation email with the application link will be sent automatically.
{{-- Tokens List --}}
All Tokens
@forelse($tokens as $token) @empty @endforelse
Partner Email Status Created By Created Expires
{{ $token->partner_name ?: '—' }} {{ $token->partner_email ?: '—' }} @switch($token->status) @case('pending') Pending @break @case('used') Used @break @case('expired') Expired @break @endswitch {{ $token->creator ? trim(($token->creator->fname ?? '').' '.($token->creator->lname ?? '')) : '—' }} {{ $token->created_at?->format('M d, Y') }} {{ $token->expires_at?->format('M d, Y') }} @if($token->used_at)
Used: {{ $token->used_at->format('M d, Y') }} @endif
@if($token->status === 'pending') @endif
No tokens found
{!! $tokens->links('vendor.pagination.bootstrap-5') !!}
@endsection @section('footer_scripts') @endsection