@extends('adminlte::page') @section('title', 'Organizations') @include('partials.ui-polish') @section('content_header')

Organizations

Super Admin control for NGO tenants, subscriptions, plans, and billing status
Platform Users
@stop @section('content') @if(session('success')) {{ session('success') }} @endif @if($errors->any()) @endif
@csrf @include('admin.organizations.partials.form')
@forelse($organizations as $organization) @empty @endforelse
Organization Plan Subscription Billing Modules Users NGO Admins Action
{{ $organization->name }}
{{ $organization->slug }} @if($organization->contact_email) · {{ $organization->contact_email }} @endif
{{ $organization->plan }} {{ $organization->subscription_status }} @if($organization->subscription_ends_at)
Ends {{ $organization->subscription_ends_at->format('M d, Y') }}
@endif
{{ $organization->billing_status }} @php($activeModuleCount = $organization->modules->filter(fn ($module) => in_array($module->pivot->status, ['Active', 'Trial'], true))->count()) {{ $activeModuleCount }} / {{ $moduleCatalog->count() }} {{ $organization->users_count }} {{ $organization->ngoAdmins->count() }} @if($organization->ngoAdmins->isNotEmpty())
{{ $organization->ngoAdmins->pluck('name')->take(2)->join(', ') }}
@else
No admin assigned
@endif
@csrf @method('PUT')
@csrf @method('PUT')
@csrf @method('PUT')
No organizations found.
@if($organizations->hasPages())
{{ $organizations->links() }}
@endif
@foreach($organizations as $organization)
@csrf @method('PUT') @include('admin.organizations.partials.form', ['organization' => $organization])
Platform Super Admin can create and edit NGO Admin accounts here. Other tenant users remain visible only as the user count in the register.
@csrf
Add NGO Admin
Assigned NGO Admins
@forelse($organization->ngoAdmins as $admin) @empty @endforelse
Name Email Status Password Action
@if($admin->locked_at) Locked @else Active @endif @if($admin->force_password_reset) Reset required @endif
@csrf @method('PUT')
No NGO Admin account assigned yet.
@csrf @method('PUT') @php($assignedModules = $organization->modules->keyBy('id'))
@forelse($moduleCatalog as $module) @php($assignment = $assignedModules->get($module->id)?->pivot) @empty @endforelse
Module Status Activated Expires
{{ $module->name }}
{{ $module->description }}
No active platform modules configured.
@endforeach @stop