@extends('layouts.admin') @section('title', 'Edit Tenant - ' . $tenant->name) @section('content')
Back to Details

Edit Tenant: {{ $tenant->name }}

Update tenant information and subscription settings

@if($tenant->status === 'active') Active @elseif($tenant->status === 'inactive') Inactive @elseif($tenant->status === 'suspended') Suspended @else {{ ucfirst($tenant->status) }} @endif
@if($errors->any())

There were errors with your submission

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session('success'))

{{ session('success') }}

@endif
@csrf @method('PUT')

Basic Information

Essential details about the tenant

Domain can contain lowercase letters, numbers, dots, hyphens, and colons

Company Information

Business details and legal information

Subscription Plan

Manage subscription plan and billing

@php $activeSubscription = $tenant->subscriptions->where('status', 'active')->first(); $currentPlan = $activeSubscription?->plan; @endphp @if($activeSubscription)

Current Subscription

{{ $currentPlan->name ?? 'Unknown Plan' }} - {{ $currentPlan ? $currentPlan->formatted_price : 'N/A' }} - Status: {{ ucfirst($activeSubscription->status) }}

@if($activeSubscription->trial_ends_at)

Trial ends: {{ $activeSubscription->trial_ends_at->format('M d, Y') }}

@endif
@endif

Select a new plan to change the subscription. Leave empty to keep current plan.

Additional Notes

Internal notes and observations

Cancel
@endsection