@extends('backend.layouts.app', ['isBanner' => false]) @section('title') {{ 'Dashboard' }} @endsection @section('content')
@if($data['cutout_pro_limit_over']==1)
Your cutout.pro account balance is insufficient. Please recharge your account to maintain service availability.
@endif @if($data['open_ai_limit_over']==1)
Your OpenAI account balance is insufficient. Please recharge your account to maintain service availability.
@endif @if($data['picsart_limit_over']==1)
Your Picsart account balance is insufficient. Please recharge your account to maintain service availability.
@endif

{{ __('dashboard.total_users') }}

{{$data['totalUsersCount']}}

{{$data['percentageUsers']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_generate_word') }}

{{$data['totalWordCount']}}

{{$data['percentageWordCountLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_active_subscription') }}

{{$data['activeSubscriptionCount']}}

{{$data['lastMothsubsctiption']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_image') }}

{{$data['totalImageCount']}}

{{$data['percentageImageCountLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_ai_writer') }}

{{$data['totalAIwriter']}}

{{$data['percentageAIwriterLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_art_genertior') }}

{{$data['totalAIart']}}

{{$data['percentageAIartLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_ai_code') }}

{{$data['totalAIcode']}}

{{$data['percentageAIcodeLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_ai_image') }}

{{$data['totalAIimage']}}

{{$data['percentageAIimageLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_ai_chat') }}

{{$data['totalAIchat']}}

{{$data['percentageAIchatLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.total_revenue') }}

{{Currency::format($data['totalRevenue'])}}

{{$data['percentagerevenueLastMonth']}}% {{ __('dashboard.last_month') }}

{{ __('dashboard.user_chart') }}

{{ __('dashboard.total_users') }}
{{$data['chart_newUsers']}}
{{ __('dashboard.total_active_users') }}
{{$data['chart_activeUsers']}}

{{ __('dashboard.recent_history') }}

@foreach($data['transactionHistory'] as $transaction) @endforeach
{{ __('dashboard.user_name') }}
{{ __('dashboard.subscription_plan') }}
{{ __('dashboard.amount') }}
{{ __('dashboard.date_time') }}
{{ __('dashboard.status') }}
avatar
{{ optional(optional($transaction->subscription)->user)->full_name ?? default_user_name() }}
{{ optional(optional($transaction->subscription)->user)->email ?? '--' }}
{{ optional(optional($transaction->subscription)->plan)->name ?? null }} {{ Currency::format($transaction->amount) }} {{ $transaction->created_at }} {{ $transaction->subscription->status ?? null }}
@endsection @push('after-styles') @endpush @push('after-scripts') @endpush