@extends('layouts.app') @section('page-header') @endsection @section('content')

{{ __('Total New Users') }} ({{ __('Current Month') }})

{{ number_format($total_data_monthly['new_users_current_month']) }} {{ __('this month') }}

{{ __('Last Month') }} {{ number_format($total_data_monthly['new_users_past_month']) }}
{{ __('Total') }} ({{ __('Current Year') }}) {{ number_format($total_data_yearly['total_new_users']) }}

{{ __('Total New Subscribers') }} ({{ __('Current Month') }})

{{ number_format($total_data_monthly['new_subscribers_current_month']) }} {{ __('this month') }}

{{ __('Last Month') }} {{ number_format($total_data_monthly['new_subscribers_past_month']) }}
{{ __('Total') }} ({{ __('Current Year') }}) {{ number_format($total_data_yearly['total_new_subscribers']) }}

{{ __('Total Income') }} ({{ __('Current Month') }})

{!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_monthly['income_current_month'][0]['data'], 2) }} {{ __('this month') }}

{{ __('Last Month') }} {!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_monthly['income_past_month'][0]['data'], 2) }}
{{ __('Total') }} ({{ __('Current Year') }}) {!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_yearly['total_income'][0]['data'], 2) }}

{{ __('Total Estimated Spending') }} ({{ __('Current Month') }})

${{ number_format((float)$total_data_monthly['spending_current_month'], 3, '.', '') }} {{ __('this month') }}

{{ __('Last Month') }}: ${{ number_format((float)$total_data_monthly['spending_past_month'], 3, '.', '') }}
{{ __('Current Year') }}: ${{ number_format((float)$total_data_yearly['total_spending'], 3, '.', '') }}

{{ __('Total Words Generated') }} ({{ __('Current Month') }})

{{ number_format($total_data_monthly['words_current_month']) }} {{ __('this month') }}

{{ __('Last Month') }} {{ number_format($total_data_monthly['words_past_month']) }}
{{ __('Total') }} ({{ __('Current Year') }}) {{ number_format($total_data_yearly['words_generated']) }}

{{ __('Total Images Generated') }} ({{ __('Current Month') }})

{{ number_format($total_data_monthly['images_current_month']) }} {{ __('this month') }}

{{ __('Last Month') }} {{ number_format($total_data_monthly['images_past_month']) }}
{{ __('Total') }} ({{ __('Current Year') }}) {{ number_format($total_data_yearly['images_generated']) }}

{{ __('Total Documents Created') }} ({{ __('Current Month') }})

{{ number_format($total_data_monthly['contents_current_month']) }} {{ __('this month') }}

{{ __('Last Month') }} {{ number_format($total_data_monthly['contents_past_month']) }}
{{ __('Total') }} ({{ __('Current Year') }}) {{ number_format($total_data_yearly['contents_generated']) }}

{{ __('Total Transactions') }} ({{ __('Current Month') }})

{{ number_format($total_data_monthly['transactions_current_month'][0]['data']) }} {{ __('this month') }}

{{ __('Last Month') }} {{ number_format($total_data_monthly['transactions_past_month'][0]['data']) }}
{{ __('Total') }} ({{ __('Current Year') }}) {{ number_format($total_data_yearly['transactions_generated'][0]['data']) }}

{{ __('Finance Overview') }}

{!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_yearly['total_income'][0]['data'], 2, '.', '') }}

{{ __('Total Earnings Current Year') }}

{{ __('Total New Users') }}

{{ number_format($total_data_yearly['total_new_users']) }}

{{ __('Total New Registered Users Current Year') }}

{{ __('Latest Registrations') }}

@foreach ($result as $data) @endforeach
{{ __('User') }} {{ __('Group') }} {{ __('Status') }} {{ __('Registered On') }}
@if ($data->profile_photo_path)
Avatar
{{ $data->name }}
{{ $data->email }}
@else
Avatar
{{ $data->name }}
{{ $data->email }}
@endif
{{ ucfirst($data->group) }} {{ ucfirst($data->status) }} {{ date_format($data->created_at, 'd M Y') }}
{{ date_format($data->created_at, 'H:i A') }}

{{ __('Latest Transactions') }}

@foreach ($transaction as $data) @endforeach
{{ __('Paid By') }} {{ __('Status') }} {{ __('Total') }} {{ __('Gateway') }} {{ __('Paid On') }}
@if ($data->profile_photo_path)
Avatar
{{ $data->name }}
{{ $data->email }}
@else
Avatar
{{ $data->name }}
{{ $data->email }}
@endif
{{ ucfirst($data->status) }} {!! config('payment.default_system_currency_symbol') !!}{{ $data->price }} @if ($data->gateway == 'PayPal') PayPal Gateway @elseif ($data->gateway == 'Stripe') Stripe Gateway @elseif ($data->gateway == 'Razorpay') Razorpay Gateway @elseif ($data->gateway == 'Paystack') Paystack Gateway @elseif ($data->gateway == 'BankTransfer') Paystack Gateway @elseif ($data->gateway == 'Coinbase') Coinbase Gateway @elseif ($data->gateway == 'Mollie') Mollie Gateway @elseif ($data->gateway == 'Braintree') Braintree Gateway @elseif ($data->gateway == 'Midtrans') Midtrans Gateway @elseif ($data->gateway == 'Flutterwave') Flutterwave Gateway @elseif ($data->gateway == 'Paddle') Paddle Gateway @elseif ($data->gateway == 'Yookassa') Yookassa Gateway @elseif ($data->gateway == 'Iyzico') Iyzico Gateway @elseif ($data->gateway == 'TwoCheckout') TwoCheckout Gateway @else {{__('Free')}} @endif {{ date_format($data->created_at, 'd M Y') }}
{{ date_format($data->created_at, 'H:i A') }}

{{ __('New Registered Users') }}

{{ __('Registered Users Current Month') }}
@endsection @section('js') @endsection