@extends('layouts.omd.omd') @section('title', 'RFQ Request') @section('content')
| RFQ Number | {{ $rfq->rfq_number }} |
| Category | {{ ucfirst($rfq->category) }} |
| Site Location | {{ $rfq->site_location }} |
| Delivery Date | {{ optional($rfq->delivery_date)->format('d M Y') }} |
| Created | {{ $rfq->created_at->format('d M Y') }} |
| Description | {{ $rfq->description }} |
| Product | Qty | Unit |
|---|---|---|
|
{{ $item->product_name }}
@if($item->grade || $item->size)
{{ $item->grade }}
{{ $item->size ? ' · ' . $item->size : '' }}
@endif
|
{{ $item->quantity }} | {{ $item->unit }} |
| No items found | ||
| {{ $rv->vendor->name ?? 'Vendor' }} | {{ ucfirst($rv->status) }} | {{ $rv->quoted_at ? $rv->quoted_at->format('d M, h:i A') : '—' }} |
| Item | Qty | @foreach($quotedVendors as $rv){{ $rv->vendor->name }} | @endforeach
|---|---|---|
|
{{ $item->product_name }}
@if($item->grade || $item->size)
{{ $item->grade }}
{{ $item->size ? ' · ' . $item->size : '' }}
@endif
|
{{ $item->quantity }} {{ $item->unit }} | @foreach($quotedVendors as $rv) @php $qi = $rv->quoteItems ->firstWhere('rfq_item_id', $item->id); $price = $qi?->quote; $isMin = $price !== null && $price == $minPrice; @endphp
@if($price !== null)
₹ {{ number_format($price, 2) }}
@else
—
@endif
@if($qi?->comment)
{{ $qi->comment }}
@endif
|
@endforeach
| Final Quote Amount | @foreach($quotedVendors as $rv) @php $total = $vendorTotals[$rv->id] ?? 0; $isLowest = $total > 0 && $total == $lowestTotal; @endphp
₹ {{ number_format($total, 2) }}
@if($isLowest)
Lowest Quote
@endif
|
@endforeach
|