@extends('layouts.dashboard.superadminapp') @section('title', 'Purchase RFQ List') @section('styles') @endsection @section('content')
| RFQ No | Date | Vendor | Vendor Ref No | RFQ Type | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $rfq->rfq_no }} | {{ \Carbon\Carbon::parse($rfq->rfq_date)->format('d M Y') }} | {{ $rfq->customerInfo ? $rfq->customerInfo->company : '-' }} | {{ $rfq->vendor_reference_no ?: '-' }} | {{ $rfq->rfq_type }} | @php $status = $rfq->status ?? 'pending'; $statusClass = $status === 'approved' ? 'bg-success' : ($status === 'rejected' ? 'bg-danger' : 'bg-secondary'); @endphp {{ ucfirst($status) }} |