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

Account Account View information about your account, including your current plan, available limits, usage, and account limits.

Manage your account, plan details, usage, and limits.

Overview Overview Review the plan associated with your account and the limits available for users, templates, signature requests, and API usage.

View your current plan and account limits.

@if(Session::get('company_payment_status') == 'Free') Free Tier @else Active Plan @endif

Current Plan

{{ $plan_details->plan_name }}

Enjoy elevated signature capacities, template automation, and developer API integrations.

@if(Session::get('company_payment_status') == "Free") @else
Status Active
@endif

Included Plan Limits & Features

Max Team Members

Users available for team collaboration

{{ $plan_details->plan_users == 10000 ? 'Unlimited' : $plan_details->plan_users . ' Seats' }}
Document Templates

Reusable documents and sign workflows

{{ $plan_details->plan_templates == 10000 ? 'Unlimited' : $plan_details->plan_templates }}
Signature Requests

Total document packages allowed to send

{{ $plan_details->plan_signature_requests == 10000 ? 'Unlimited' : $plan_details->plan_signature_requests }}
Monthly API Request Quota

Webhook and REST API throughput limit

{{ $plan_details->plan_api_credits == 10000 ? 'Unlimited' : number_format($plan_details->plan_api_credits) . ' requests/month' }}
@php // Helper function to return colors based on percentage $getStatusColor = function($percentage) { if ($percentage >= 90) { return [ 'bar' => '#ef4444', // Red 'badge_bg' => '#fef2f2', 'badge_text' => '#b91c1c' ]; } elseif ($percentage >= 70) { return [ 'bar' => '#f59e0b', // Orange 'badge_bg' => '#fffbeb', 'badge_text' => '#b45309' ]; } else { return [ 'bar' => '#10b981', // Green 'badge_bg' => '#ecfdf5', 'badge_text' => '#047857' ]; } }; @endphp

Usage & Limits Usage & Limits Monitor your plan's allocated resources and track your real-time usage across your account.

This section shows the resources included in your current plan and your ongoing usage.

@php $storageUsed = (float) Session::get("total_size_used", 0); $storageMax = (float) Session::get("plan_storage", 0); $storagePer = $storageMax > 0 ? min(100, round(($storageUsed / $storageMax) * 100)) : 0; $storageColor = $getStatusColor($storagePer); @endphp
Hosted Document Storage Hosted Document Storage Storage used by documents hosted in your account. Your plan includes a maximum storage allowance.
{{ $storagePer }}%
{{ $storageUsed }} MB
Limit: {{ $storageMax }} MB
@php $usersUsed = (int) Session::get("total_user", 0); $planUsersRaw = Session::get("plan_users", 0); $isUnlimitedU = ($planUsersRaw == 10000 || $planUsersRaw <= 0); $userPer = !$isUnlimitedU && $planUsersRaw > 0 ? min(100, round(($usersUsed / $planUsersRaw) * 100)) : 0; $userColor = $getStatusColor($userPer); @endphp
Team Members Team Members Number of users in your account compared with the maximum allowed by your plan.
{{ $isUnlimitedU ? 'Unlimited' : $userPer.'%' }}
{{ $usersUsed }} Active
Limit: {{ $isUnlimitedU ? 'Unlimited' : $planUsersRaw.' seats' }}
@php $tplUsed = (int) Session::get("template_count", 0); $planTplRaw = Session::get("plan_templates", 0); $isUnlimitedT = ($planTplRaw == 10000 || $planTplRaw <= 0); $tplPer = !$isUnlimitedT && $planTplRaw > 0 ? min(100, round(($tplUsed / $planTplRaw) * 100)) : 0; $tplColor = $getStatusColor($tplPer); @endphp
Templates Templates Number of document templates created in your account compared with the limit included in your plan.
{{ $isUnlimitedT ? 'Unlimited' : $tplPer.'%' }}
{{ $tplUsed }} Created
Limit: {{ $isUnlimitedT ? 'Unlimited' : $planTplRaw.' max' }}
@php $apiUsed = (int) ($api_credit_used ?? 0); $apiMax = (int) ($plan_api_credit ?? 0); $apiPer = $apiMax > 0 ? min(100, round(($apiUsed / $apiMax) * 100)) : 0; $apiColor = $getStatusColor($apiPer); @endphp
Monthly API Requests Monthly API Requests Number of API requests used during the current monthly usage period. Your plan allows up to {{$apiMax}} requests each month.
{{ $apiPer }}%
{{ number_format($apiUsed) }} Calls
Limit: {{ number_format($apiMax) }} max

Transactions

This section shows the invoices and bills

@if($transactions->isEmpty())

No Data Found

@else @foreach($transactions as $trx) @endforeach
Order # Amount Status Date
{{ $trx->order_number }} ${{ $trx->total_amount }} {{ $trx->payment_status }} {{ $trx->created_at }}
@endif
@endsection