@extends('layouts.dashboard') @section('title', $company->name) @section('header', $company->name) @section('sidebar') @include('super-admin.partials.sidebar') @endsection @section('content')

Company Information

Name
{{ $company->name }}
Email
{{ $company->email }}
Phone
{{ $company->phone ?? 'N/A' }}
Status
{{ ucfirst($company->status) }}
Language
{{ strtoupper($company->language) }}
Currency
{{ $company->currency }}

Subscription

@if($company->activeSubscription)
Plan
{{ $company->activeSubscription->plan->name }}
Price
{{ number_format($company->activeSubscription->plan->price, 0) }} {{ $company->activeSubscription->plan->currency }}/{{ $company->activeSubscription->plan->interval }}
Status
{{ ucfirst($company->activeSubscription->status) }}
Expires
{{ \Carbon\Carbon::parse($company->activeSubscription->ends_at)->format('M d, Y') }}
@else

No active subscription

@endif

Usage Statistics

Users
{{ $company->users->count() }}
Properties
{{ $company->properties->count() }}
Tenants
{{ $company->tenants->count() }}
Leases
{{ $company->leases->count() }}
Payments
{{ $company->payments->count() }}

Actions

Edit Company View Usage @if($company->status === 'active')
@csrf
@else
@csrf
@endif
@if($plans->count() > 0)

Assign Subscription Plan

@csrf
@endif @endsection