@extends('layouts.master') @section('title', 'Review Quote') @section('content')
@include('buyer.partials.sidebar')
@if(session('success')) @endif @if(session('error')) @endif
My Requirement
@if($quote->rfq)

{{ $quote->rfq->title }}

Quantity
{{ $quote->rfq->quantity ?? 'N/A' }}
My Budget
{{ $quote->rfq->budget ? '₹' . number_format($quote->rfq->budget) : 'Open' }}
Description

{{ $quote->rfq->description }}

@else

Requirement data not available.

@endif
Quote Timeline
Quote Received
{{ $quote->created_at->format('d M Y, h:i A') }}

Seller submitted quote of ₹{{ number_format($quote->price, 0) }}

@if($quote->buyer_viewed_at)
You Viewed
{{ $quote->buyer_viewed_at->format('d M Y, h:i A') }}
@endif @if($quote->status == 'negotiation' && $quote->buyer_response)
Negotiation Requested
{{ $quote->updated_at->format('d M Y, h:i A') }}
Your message:

{{ $quote->buyer_response }}

@endif @if($quote->revised_price && $quote->seller_revised_at)
Seller Revised Quote
{{ $quote->seller_revised_at->format('d M Y, h:i A') }}

New price: ₹{{ number_format($quote->revised_price, 0) }}

@if($quote->revised_message)
Seller's note:

{{ $quote->revised_message }}

@endif
@endif @if($quote->status == 'accepted')
Quote Accepted
{{ $quote->updated_at->format('d M Y, h:i A') }}

Deal confirmed! Contact seller to proceed.

@endif @if($quote->status == 'rejected')
Quote Rejected
{{ $quote->updated_at->format('d M Y, h:i A') }}
@endif
Seller's Quote
{!! $quote->status_badge !!}
@if($quote->seller->logo) Logo @else
{{ strtoupper(substr($quote->seller->company_name ?? 'S', 0, 1)) }}
@endif
{{ $quote->seller->company_name ?? 'N/A' }} @if($quote->seller && $quote->seller->isPaid()) @endif
{{ $quote->seller->city ?? '' }}, {{ $quote->seller->state ?? '' }} @if($quote->seller->is_verified) Verified @endif
Quoted Price
₹{{ number_format($quote->revised_price ?? $quote->price, 2) }}
@if($quote->revised_price) ₹{{ number_format($quote->price, 2) }} @endif
Delivery
{{ $quote->delivery_timeline }}
@if($quote->message)
Seller's Message

{{ $quote->message }}

@endif @if(!in_array($quote->status, ['accepted', 'rejected']))
Take Action
@csrf
@csrf
@csrf
@else
You have {{ $quote->status }} this quote.
@endif
@if($quote->status === 'accepted')
Contact Seller

You can now contact the seller directly to finalize the order.

@endif
@endsection