@extends('site.layout.layout') @section('title',__('Favorites')) @section('content')
@if(!auth()->user()->store)

{{ __('Sell my products') }}

{{ __('Start selling your products easily through our secure platform.') }}

{{ __('Activate the selling feature') }}

{{ __("Activate your account now to start selling products on our platform. After activation, you'll be able to display your products professionally, manage orders easily, and communicate directly with customers.") }}

{{ __('Activation request') }}

@csrf

{{ __('Upload a photo of your ID (such as an ID card or passport)') }}

{{ __('Store information') }}
{{ __('Bank account information') }}
{{ __('Address') }}

{{ __('Your application will be reviewed by the Tasahal administration. Once approved, the selling feature will be activated on your account.') }}

@elseif(auth()->user()->store && auth()->user()->store?->status != 1)

{{ __('Sell my products') }}

{{ __('Start selling your products easily through our secure platform.') }}

{{ __('Your application is under review') }}
{{ auth()->user()->store?->account_holder_name }}
{{ auth()->user()->store?->bank_name }}
{{ auth()->user()->store?->IBAN }}

{{ __('The request is being processed') }}

@elseif(auth()->user()->store && auth()->user()->store?->sale_status == 1)

{{ __('You can only access your products through the admin panel. This is for used products only.') }}

@else

{{ __('Sell my products') }}

{{ __('Start selling your products easily through our secure platform.') }}

{{ auth()->user()->store?->products()->where('status',1)->where('count','>=',1)->count() ?? 0 }}

{{ __('Displayed products') }}

{{ auth()->user()->store?->orderProducts()->where('shipping_status','!=','shipped')->count() ?? 0 }}

{{ __('Products in the sales phase') }}

{{ auth()->user()->store?->orderProducts()->where('shipping_status','shipped')->count() ?? 0 }}

{{ __('Products sold') }}

0

{{ __('Visits to your seller profile') }}

{{ __('Store settings') }}
{{ __('Wallet') }}
{{ __('Orders') }}
{{ __('View store') }}
@endif
@endsection @push('scripts') @endpush