@extends('user.layouts.app') @section('content')
{{-- Access deined --}} @if(Session::has("access")) @endif {{-- Failed --}} @if(Session::has("failed")) @endif {{-- Success --}} @if(Session::has("success")) @endif
{{-- Current plan --}}
{{ __('Current Plan') }}
@if ($active_plan->price == 0)
{{ __($active_plan->name) }}

{{ __('FREE PLAN') }}


@else

{{ __($active_plan->name) }}

{{ __('Remaining Days') }} : {{ $remaining_days > 0 ? $remaining_days : __('Plan Expired!') }}


@endif {{ __('Show details') }}
{{-- Today AI Contents --}}
{{ __('Today AI Contents') }}

{{ $today_generates }}

{{ __('Words') }}
{{ __('Used AI Words') }} {{ $usedWords }}
{{ __('Available AI Words') }}
{{-- Today AI Images --}}
{{ __('Today AI Images') }}

{{ $today_images }}

{{ __('Images') }}
{{ __('Used AI Images') }} {{ $usedImages }}
{{ __('Available AI Images') }}
{{-- Month wise AI Content --}}
{{-- Title --}}
{{ __('AI Contents') }}
{{-- Chart --}}
{{-- Month wise AI Images --}}
{{-- Title --}}
{{ __('AI Images') }}
{{-- Chart --}}
{{-- Latest 10 Generation --}}

{{ __('Latest 10 Generation') }}

{{-- AI Contents --}} @foreach ($generates as $generate) @endforeach
{{ __('S.No') }} {{ __('Generated on') }} {{ __('Name') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ date('d/m/Y h:i A', strtotime($generate->created_at)) }} @if($generate->type != "Text To Speech")
{{ Str::ucfirst(mb_strimwidth($generate->name, 0, 27, "...")) }}
{{ __('Used Credits') }} : {{ $generate->word_count }}
@else
{{ Str::ucfirst(mb_strimwidth($generate->name, 0, 27, "...")) }}
{{ __('Used Credits') }} : {{ $generate->word_count }}
@endif
{{-- Recent AI Images --}}

{{ __('Recent 10 AI Images') }}

{{-- AI Images --}} @foreach ($images as $image) @endforeach
{{ __('S.No') }} {{ __('Generated on') }} {{ __('Name') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ date('d/m/Y h:i A', strtotime($image->created_at)) }}
{{-- Check format --}} @if ($image->format == "b64_json") @endif @if ($image->format == "url") @endif
{{ Str::ucfirst(mb_strimwidth($image->name, 0, 15, "...")) }}
{{ __('No') }} : {{ $image->n }}
{{ __('Size') }} : {{ $image->size }}
{{-- Footer --}} @include('user.includes.footer')
{{-- Delete Content Modal --}} {{-- Delete Image Modal --}} {{-- Custom JS --}} @section('custom-js')