@extends('layouts.dashboard.superadminapp') @section('title', 'Purchase RFQ Details') @section('content')

Purchase RFQ Details

RFQ Number
{{ $rfq->rfq_no }}
Vendor
{{ $rfq->customerInfo->company ?? '-' }}
RFQ Type
{{ $rfq->rfq_type ?? '-' }}
Status
{{ ucfirst($rfq->status ?? 'pending') }}
RFQ Information
{{ $rfq->rfq_no }}
{{ $rfq->rfq_date }}
{{ $rfq->rfq_type ?? '-' }}
{{ ucfirst($rfq->status ?? 'pending') }}
Vendor Information
{{ $rfq->customerInfo->company ?? '-' }}
{{ $rfq->vendor_reference_no ?? '-' }}
Additional Information
{{ $rfq->delivery_terms ?? '-' }}
{{ $rfq->description ?? '-' }}
{{ $rfq->note ?? '-' }}
RFQ Items
@if ($rfq->items->count())
@foreach ($rfq->items as $index => $item) @endforeach
# Item Description Quantity UOM Required By
{{ $index + 1 }} {{ $item->stockItem->item_name ?? '-' }} {{ $item->description ?? '-' }} {{ $item->quantity ?? '-' }} {{ $item->uom ?? '-' }} {{ $item->required_by ?? '-' }}
@else

No items added to this RFQ.

@endif
Attachments
@php $hasFiles = false; $allFiles = []; foreach (['drawing' => 'Drawing File', 'material_spec' => 'Material Specification', 'rfq_form' => 'RFQ Form', 'annexure' => 'Annexure'] as $type => $label) { $files = $rfq->rfqFiles->where('file_type', $type); if ($files->count()) { $hasFiles = true; foreach ($files as $file) { $allFiles[] = ['file' => $file, 'label' => $label]; } } } @endphp @if ($hasFiles)
@foreach ($allFiles as $fileData) {{ $fileData['file']->file_name }} @endforeach
@else

No attachments available.

@endif
Print Back to List
@endsection @section('scripts') @endsection