@extends('layouts.app') @section('css') @endsection @section('page-header') @endsection @section('content')
{{ now()->format('M d, Y H:i A'); }}

{{ __('Welcome') }}, {{ auth()->user()->name }}

{{ __('Current Plan') }} @if (is_null(auth()->user()->plan_id))

{{ __('No Active Plan') }}

{{ __('You do not have an active subscription') }}
@else

{{ $subscription }} {{ __('Plan') }}

@endif
@if (!is_null($price)) @if ($term == 'lifetime')

{{ __('Lifetime Plan') }}

@else

{!! config('payment.default_system_currency_symbol') !!}{{ $price }} / @if ($term == 'monthly'){{ __('month') }} @else {{ __('year') }} @endif

@endif @else

{!! config('payment.default_system_currency_symbol') !!}0 / {{ __('month') }}

@endif {{ __('See Pricing Plans') }}
{{ __('Your balance') }}

{!! config('payment.default_system_currency_symbol') !!}{{ number_format(auth()->user()->balance) }}

{{ __('Current referral earnings') }}
{{ __('Time Saved') }}

{{ number_format($total_words) }}

{{ __('Total hours you saved') }}
{{ App\Services\HelperService::mainPlanModel()}} {{ __('Words Left') }}

{{ App\Services\HelperService::mainPlanBalance()}}

@role('user|subscriber|admin') @if (config('settings.image_feature_user') == 'allow')
{{ __('DE/SD Images Left') }}

@if(auth()->user()->available_dalle_images == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->available_dalle_images + auth()->user()->available_dalle_images_prepaid + auth()->user()->available_sd_images + auth()->user()->available_sd_images_prepaid) }} @endif

@endif @endrole @role('user|subscriber|admin') @if (config('settings.voiceover_feature_user') == 'allow')
{{ __('Characters Left') }}

@if(auth()->user()->available_chars == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->available_chars + auth()->user()->available_chars_prepaid) }} @endif

@endif @endrole @role('user|subscriber|admin') @if (config('settings.whisper_feature_user') == 'allow')
{{ __('Minutes Left') }}

@if(auth()->user()->available_minutes == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->available_minutes + auth()->user()->available_minutes_prepaid) }} @endif

@endif @endrole
{{ __('Your Documents') }}

{{ __('Words Generated') }}

{{ number_format($data['words']) }} {{ __('words') }}

{{ __('Documents Saved') }}

{{ number_format($data['documents']) }} {{ __('documents') }}

@role('user|subscriber|admin') @if (config('settings.image_feature_user') == 'allow')

{{ __('Images Created') }}

{{ number_format($data['images']) }} {{ __('images') }}

@endif @endrole @role('user|subscriber|admin') @if (config('settings.voiceover_feature_user') == 'allow')

{{ __('Voiceover Tasks') }}

{{ number_format($data['synthesized']) }} {{ __('tasks') }}

@endif @endrole @role('user|subscriber|admin') @if (config('settings.whisper_feature_user') == 'allow')

{{ __('Audio Transcribed') }}

{{ number_format($data['transcribed']) }} {{ __('audio files') }}

@endif @endrole

{{ __('Favorite AI Chat Assistants') }}

{{ __('Have your favorite AI chat assistants handy anytime you need them') }}
@if ($chat_quantity)
@foreach ($favorite_chats as $chat)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteChatStatus(this.id)">
User Avatar
{{ __($chat->name) }}
|
{{ __($chat->sub_name) }}
@if($chat->category == 'professional')
|

{{ __('Pro') }}

@elseif($chat->category == 'free')
|

{{ __('Free') }}

@elseif($chat->category == 'premium')
|

{{ __('Premium') }}

@endif
@endforeach @foreach ($custom_chats as $chat)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteChatStatus(this.id)">
User Avatar
{{ __($chat->name) }}
|
{{ __($chat->sub_name) }}
@if($chat->category == 'professional')
|

{{ __('Pro') }}

@elseif($chat->category == 'free')
|

{{ __('Free') }}

@elseif($chat->category == 'premium')
|

{{ __('Premium') }}

@endif
@endforeach
@else
{{ __('To add AI chat assitant as your favorite ones, simply click on the start icon on desired') }} {{ __('AI Chat Assistants') }}
@endif

{{ __('Favorite AI Writer Templates') }}

{{ __('Always have your top favorite templates handy whenever you need them') }}
@if ($template_quantity)
@foreach ($templates as $template)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}
@if($template->package == 'professional')
|

{{ __('Pro') }}

@elseif($template->package == 'free')
|

{{ __('Free') }}

@elseif($template->package == 'premium')
|

{{ __('Premium') }}

@endif

{{ __($template->description) }}

@endforeach @foreach ($custom_templates as $template)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}
@if($template->package == 'professional')
|

{{ __('Pro') }}

@elseif($template->package == 'free')
|

{{ __('Free') }}

@elseif($template->package == 'premium')
|

{{ __('Premium') }}

@endif

{{ __($template->description) }}

@endforeach
@else
{{ __('To add templates as your favorite ones, simply click on the start icon on desired') }} {{ __('templates') }}
@endif

{{ __('Recent Documents') }}

@foreach ($documents as $data) @endforeach
{{ __('Document Name') }} {{ __('Words') }} {{ __('Workbook') }} {{ __('Category') }} {{ __('Last Activity') }}
{!! $data->icon !!}
id ) }}">{{ ucfirst($data->title) }}
{{ ucfirst($data->template_name) }}
{{ $data->words }} {{ ucfirst($data->workbook) }} {{ __(ucfirst($data->group)) }} {{ \Carbon\Carbon::parse($data->updated_at)->diffForHumans() }} id ) }}">{{ __('View') }}

{{ __('Need Help?') }}

{{ __('Got questions? We have you covered') }}
{{ __('Create Suppport Ticket') }}
{{ __('Available from') }} {{ __('9am till 5pm') }}

{{ __('Support Tickets') }}

@foreach ($tickets as $data) @endforeach
{{ __('Ticket ID') }} {{ __('Subject') }} {{ __('Category') }} {{ __('Status') }} {{ __('Last Updated') }}
ticket_id ) }}">{{ $data->ticket_id }} {{ ucfirst($data->subject) }} {{ ucfirst($data->category) }} {{ __(ucfirst($data->status)) }} {{ \Carbon\Carbon::parse($data->updated_at)->diffForHumans() }} ticket_id ) }}">{{ __('View') }}

{{ __('News & Notifications') }}

@foreach ($notifications as $notification)
@if ($notification->data['type'] == 'Warning') @elseif ($notification->data['type'] == 'Info') @elseif ($notification->data['type'] == 'Announcement') @else @endif

id) }}">{{ __($notification->data['type']) }}: {{ __($notification->data['subject']) }}

@if ($notification->data['action'] == 'Action Required') {{ __('Action Required') }} @else {{ __('No Action Required') }} @endif

{{ \Carbon\Carbon::parse($notification->created_at)->format('M d, Y') }}
{{ \Carbon\Carbon::parse($notification->created_at)->format('H:i A') }}
@endforeach
@endsection @section('js') {{-- --}} @endsection