@extends('nexfloit.layouts.app') @section('title', 'Dashboard') @section('content')

{{ $totalTenants }}

Total Tenants

{{ $activeTenants }}

Active Tenants

{{ $lockedTenants }}

Locked Tenants

{{ $trialTenants }}

On Trial

{{ \Carbon\Carbon::createFromFormat('Y-m', $currentMonth)->format('F Y') }}

Expected Revenue

Rs. {{ number_format($expectedRevenue, 2) }}

Collected

Received

Rs. {{ number_format($collectedRevenue, 2) }}

Awaiting

Pending Payments

{{ $pendingPayments }}

Overdue Subscriptions
View All
@if($overdueSubscriptions->isEmpty())

No overdue subscriptions!

@else
@foreach($overdueSubscriptions as $subscription) @endforeach
Tenant Month Amount Due Date
{{ $subscription->tenant->business_name }}
{{ $subscription->tenant->code }}
{{ $subscription->billing_month_display }} Rs. {{ number_format($subscription->amount, 2) }} {{ $subscription->due_date->format('M d, Y') }}
@endif
Recent Payments
@if($recentPayments->isEmpty())

No recent payments

@else
    @foreach($recentPayments as $payment)
  • {{ $payment->tenant->business_name }}
    {{ $payment->payment_date->format('M d, Y') }} via {{ $payment->method_display }}
    Rs. {{ number_format($payment->amount, 2) }}
  • @endforeach
@endif
Recent Tenants
Add Tenant
@foreach($recentTenants as $tenant) @endforeach
Code Business Plan Monthly Fee Status Joined
{{ $tenant->code }} {{ $tenant->business_name }} {{ $tenant->plan_badge['label'] }} Rs. {{ number_format($tenant->monthly_fee, 2) }} {{ $tenant->status_badge['label'] }} {{ $tenant->created_at->format('M d, Y') }}
@endsection