@extends('layouts.buyer') @section('title', 'Dashboard') @section('buyer-content')

Welcome back, {{ Auth::user()->name }}! 👋

Manage your sourcing requirements and quotes efficiently.

Post New Requirement
Requirements

{{ $rfqCount }}

Quotes Received

{{ $quotesReceived }}

Pending Review

{{ $pendingQuotes }}

Deals Done

{{ $acceptedQuotes }}

Recent Quotes
View All
@forelse($recentQuotes as $quote) @empty @endforelse
Seller Details
@if($quote->seller && $quote->seller->logo) @else
{{ strtoupper(substr($quote->seller->company_name ?? 'S', 0, 1)) }}
@endif
{{ $quote->seller->company_name ?? 'Seller' }}
{{ $quote->rfq->title ?? 'N/A' }}
₹{{ number_format($quote->price, 0) }}
{!! $quote->status_badge !!}

No quotes received yet.

My Requirements
View All
@forelse($recentRfqs as $rfq) @empty @endforelse
Requirement Quotes Status Action
{{ $rfq->title }}
{{ $rfq->created_at->format('d M Y') }}
{{ $rfq->quotes_count ?? 0 }} quotes {{ ucfirst($rfq->status) }}

No requirements posted yet.

Post Your First Requirement
Activity Summary
Inquiries Sent {{ $inquiriesCount }}
Favorites {{ $favoritesCount }}
Saved Searches {{ $savedSearchesCount }}
Recent Inquiries
View All
@forelse($recentInquiries->take(3) as $inquiry)
{{ Str::limit($inquiry->seller->company_name ?? 'Seller', 20) }} {{ $inquiry->created_at->diffForHumans() }}
{{ $inquiry->message }}
@empty
No inquiries found.
@endforelse
@endsection