@extends('layout.app') @section('title', 'My Storage & Plan Usage') @push('header_script') @endpush @section('content')
{{ $tenant->company_name }} ({{ $tenant->company_code }})
Active Subscription

{{ $plan ? $plan->name : ($tenant->subscription_plan ?: 'Custom Plan') }}

₹{{ $plan ? number_format($plan->price, 2) : '0.00' }} / {{ $plan ? $plan->billing_cycle : 'Monthly' }}
Plan Validity
{{ $formattedExpiry }}
{{ $expiryBadgeText }}
Storage Consumed
{{ $totalFiles }} Files

{{ $formattedUsed }}

/ {{ $formattedLimit }}
{{ $percentage }}% used {{ $formattedFree }} free
Vehicle Quota

{{ $vehicleCount }} / {{ $vehicleLimit > 0 ? $vehicleLimit : '∞' }}

@if($vehicleLimit > 0) {{ $vehicleRemaining }} vehicle slots available @else Unlimited vehicle capacity @endif
@if(count($categoryBreakdown) > 0)
Document Storage by Module
All Categories
{{ $totalFiles }} Files
{{ $formattedUsed }}
@foreach($categoryBreakdown as $cat)
{{ $cat['name'] }}
{{ $cat['count'] }} Files
{{ $cat['formatted_size'] }}
@endforeach
@endif
My Uploaded Documents
Secure, private document archive stored in Cloudflare R2
# Document Name & Path Category File Size Uploaded On Action
@endsection @push('footer_script') @endpush