--}}
{{--
--}}
@php
if (!Route::is('seller.account-config')) {
if (!empty(session('active_shop_id'))) {
$shopRegistered = Auth::user()->AllTakealotShops->where('id', '=', session('active_shop_id'))->first();
if (!Route::is('seller.profile') && ((empty($shopRegistered->tk_seller_id) && empty($shopRegistered->takealot_account_name) && empty($shopRegistered->takealot_account_name) && empty($shopRegistered->takealot_api_key)) || empty($shopRegistered->takealot_webhook_secreet))) {
header('Location: ' . route('seller.account-config'));
exit();
}
}
}
@endphp
@yield('content')
{{--
--}}
{{--
--}}