Phantom 5
Home Properties Products Services About Contact
@auth @if(Auth::user()->isAdmin()) @php $adminPendingOrders = \App\Models\Order::where('status', 'pending')->count(); $adminPendingMerchants = \App\Models\MerchantProfile::pending()->count(); $adminTotalPending = $adminPendingOrders + $adminPendingMerchants; @endphp @if($adminTotalPending > 0) {{ $adminTotalPending > 99 ? '99+' : $adminTotalPending }} @endif @endif @if(Auth::user()->isCustomer()) @php $pendingOrdersCount = Auth::user()->orders()->whereIn('status', ['pending'])->count(); @endphp @if($pendingOrdersCount > 0) {{ $pendingOrdersCount }} @endif @endif @if(Auth::user()->isAdmin()) Admin Dashboard Orders Site Settings @endif @if(Auth::user()->isMerchant() || Auth::user()->isAdmin()) Merchant Dashboard @endif @if(Auth::user()->isMerchant()) Subscription @endif @if(Auth::user()->isCustomer()) My Orders @endif @if(Auth::user()->isCustomer()) Become a Seller @endif Profile
@csrf Log Out
@else Log in Register @endauth
Home Properties Products Services About Contact
@auth
@if(Auth::user()->avatar) @if(str_starts_with(Auth::user()->avatar, 'http')) {{ Auth::user()->name }} @else {{ Auth::user()->name }} @endif @else {{ strtoupper(substr(Auth::user()->name, 0, 1)) }} @endif

{{ Auth::user()->name }}

@if(Auth::user()->isAdmin()) @php $mobilePendingOrders = \App\Models\Order::where('status', 'pending')->count(); $mobilePendingMerchants = \App\Models\MerchantProfile::pending()->count(); @endphp Admin Dashboard @if($mobilePendingOrders + $mobilePendingMerchants > 0) {{ $mobilePendingOrders + $mobilePendingMerchants }} @endif Orders @if($mobilePendingOrders > 0) {{ $mobilePendingOrders }} @endif Site Settings @endif @if(Auth::user()->isMerchant() || Auth::user()->isAdmin()) Merchant Dashboard @endif @if(Auth::user()->isMerchant()) Subscription @endif @if(Auth::user()->isCustomer()) My Orders Become a Seller @endif Profile
@csrf
@else Log in Register @endauth