@php $profile = auth()->user()->profile; @endphp @extends('seller.profile') @section('content') {{-- @php $can = App\Models\Can::where('user_id', Auth::user()->id)->first(); @endphp --}}
{{--
Back
--}}
@session('success') @endsession

Your Offers

{{--

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 @if ($is_approved) Create Ad @endif Sell To Lovecans Lovecans Store View Profile --}} {{-- Home Logout --}}
@php // $ads = App\Models\Ad::where('user_id', Auth::user()->id)->orderBy('id', 'desc')->get(); $can = App\Models\Can::where('user_id', Auth::user()->id)->first(); @endphp {{--

No of Cans available: {{ $can ? $can->stock : 0 }}

--}}
@foreach ($offers as $offer)
...

{{ $offer->title }}

Type: {{ $offer->type }}

Price: {{ $offer->price }}

Days Worn: {{ $offer->worn_days }}

{{$offer->offer_status}}
@endforeach @if ($offers->count() == 0)

No Offers
@endif
@endsection