@extends('nexfloit.layouts.app') @section('title', $tenant->business_name) @section('content')

{{ $stats['stores_count'] }}

Stores

{{ $stats['users_count'] }}

Users

Rs. {{ number_format($stats['total_paid'], 0) }}

Total Paid

Rs. {{ number_format($stats['pending_amount'], 0) }}

Pending

Business Information
@if($tenant->isOnTrial()) @endif @if($tenant->is_locked) @endif
Owner {{ $tenant->owner_name }}
Email {{ $tenant->email }}
Phone {{ $tenant->phone ?? '-' }}
Address {{ $tenant->address ?? '-' }}
Plan {{ $tenant->plan_badge['label'] }}
Monthly Fee Rs. {{ number_format($tenant->monthly_fee, 2) }}
Joined {{ $tenant->created_at->format('M d, Y') }}
Trial Ends {{ $tenant->trial_ends_at->format('M d, Y') }}
Locked At {{ $tenant->locked_at->format('M d, Y H:i') }}
Lock Reason {{ $tenant->lock_reason }}
Stores
@if($tenant->stores->isEmpty())

No stores yet

@else
    @foreach($tenant->stores as $store)
  • {{ $store->name }}
    {{ $store->code }}
    {{ $store->is_active ? 'Active' : 'Inactive' }}
  • @endforeach
@endif
Recent Subscriptions
@forelse($tenant->subscriptions as $subscription) @empty @endforelse
Month Amount Due Status
{{ $subscription->billing_month_display }} Rs. {{ number_format($subscription->amount, 2) }} {{ $subscription->due_date->format('M d') }} {{ $subscription->status_badge['label'] }} @if($subscription->status !== 'paid') @endif
No subscriptions yet
Recent Payments
@forelse($tenant->payments as $payment) @empty @endforelse
Date Amount Method Reference
{{ $payment->payment_date->format('M d, Y') }} Rs. {{ number_format($payment->amount, 2) }} {{ $payment->method_display }} {{ $payment->reference_number ?? '-' }}
No payments yet
@endsection