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

Account & Billing

Overview

This section shows the plan details

{{ $plan_details->plan_name }}
{{ $plan_details->plan_users == 10000 ? 'Unlimited' : $plan_details->plan_users }}
{{ $plan_details->plan_templates == 10000 ? 'Unlimited' : $plan_details->plan_templates }}
{{ $plan_details->plan_signature_requests == 10000 ? 'Unlimited' : $plan_details->plan_signature_requests }}
{{ $plan_details->plan_api_credits == 10000 ? 'Unlimited' : $plan_details->plan_api_credits }}
@if(Session::get('company_payment_status') == "Free")
@endif

Usage & Limits

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

Hosted Document Storage {{ Session::get("total_size_used") }} Mb / {{ Session::get("plan_storage") }} Mb Max
@php $storagePer = Session::get("plan_storage") != 0 ? round((100 * Session::get("total_size_used")) / Session::get("plan_storage")) : 0; @endphp
{{$storagePer}}%
Users {{ Session::get("total_user") }} / {{ Session::get('plan_users') == 10000 ? 'Unlimited' : Session::get('plan_users'). ' Max' }}
@php $userPer = Session::get("plan_users") != 0 ? round((100 * Session::get("total_user")) / Session::get("plan_users")) : 0; @endphp
{{$userPer}}%
Templates Created {{ Session::get("template_count") }} / {{ Session::get('plan_templates') == 10000 ? 'Unlimited' : Session::get('plan_templates').' Max' }}
@php $templatePer = Session::get("plan_templates") != 0 ? round((100 * Session::get("template_count")) / Session::get("plan_templates")) : 0; @endphp
{{$templatePer}}%
Monthly API Request Quota Available {{ $api_credit_used }} / {{ $plan_api_credit }} Max
@php $apiPer = $plan_api_credit > 0 ? round(($api_credit_used / $plan_api_credit) * 100, 2) : 0 @endphp
{{$apiPer}}%

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