@php
$sales_prev_week = cache('sales_previous_week');
$sales_this_week = cache('sales_this_week');
$api_cost_distribution = cache('api_cost_distribution');
$popular_plans_data = cache('popular_plans_data');
$popular_tools_data = cache('popular_tools_data');
$currencySymbol = currency()->symbol;
// TODO: get the list from db
$premium_features = [
'VIP Priority Support',
'All Current and Upcoming Extensions and Themes',
'5 Hours of Free Development Each Month',
'Direct Access to Our Development Team',
];
@endphp
@extends('panel.layout.app', ['disable_tblr' => true, 'disable_titlebar' => true])
@section('title', __('Overview'))
@section('content')
@if ($gatewayError == true)
{{ __('Gateway is set to use sandbox. Please set mode to development!') }}
{{ __('To use live settings:') }}
{{ __('Set mode to Production') }}
{{ __('Save gateway settings') }}
{{ __('Know that all defined products and prices will reset.') }}
{{ __('To use sandbox settings:') }}
{{ __('Set mode to Development') }}
{{ __('Save gateway settings') }}
{{ __('Know that all defined products and prices will reset.') }}
{{ __('Beware of that order is important. First set mode then save gateway settings.') }}
@endif
{{-- beging: brand-header-caption --}}
Hey {{ auth()?->user()?->name }} 👋
{{ __('Customize') }}
@foreach (cache('dashboard_widgets', []) as $widget)
{{ $widget->name->label() }}
@endforeach
{{-- end: brandh-header-caption --}}
{{-- begin: brand --}}
@lang('Marketplace is here.')
@lang('Extend the capabilities of MagicAI, explore new designs and unlock new horizons.')