@extends('seller.profile') @php $profile = auth()->user()->profile; @endphp @section('content') @php $can = App\Models\Can::where('user_id', Auth::user()->id)->first(); @endphp {{--
{{session('success')}}
@endsession --}}Welcome to your dashboard
{{-- @if (Auth::user()->role === 'admin') Admin Dashboard @endif @php $is_approved = false @endphp @if (Auth::user()->profile->status === 'verified' && $can->stock > 0) @php $is_approved = true @endphp @endif {{-- Sell To Lovecans --}} {{-- Sell Offers --}} {{-- Lovecans Store --}} Create Ad{{ session('error') }}
@endsession --}} @foreach ($ads as $ad)Type: {{ $ad->type }}
Price: {{ $ad->price }}
Days Worn: {{ $ad->worn_days }}
@if ($ad->status == 'Unapproved') {{ $ad->status }} @endif @if ($ad->status == 'Approved') @endif