@if (auth()->check())
@if(auth()->user()?->photo != null) {{ auth()->user()->name }} @else
{{ auth()->user()?->name ? substr(auth()->user()?->name, 0, 1) : 'S' }}
@endif
{{ auth()->user()?->name }}
{{-- --}} {{ number_format(auth()->user()->customer->point ?? 0, 0, ',', '.') }} {{ __('account_sidebar.points') }} {{-- available --}}
{{ __('account_sidebar.orders') }} {{-- 1 --}} {{ __('account_sidebar.wishlist') }} {{ __('account_sidebar.payment_methods') }} {{ __('account_sidebar.my_reviews') }}
{{ __('account_sidebar.manage_account') }}
{{ __('account_sidebar.personal_info') }} {{ __('account_sidebar.addresses') }} {{ __('account_sidebar.notifications') }}
{{ __('account_sidebar.customer_service') }}
{{ __('account_sidebar.help_center') }} {{ __('account_sidebar.terms_and_conditions') }}
@csrf
@endif