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

RFQ Details

Back
RFQ No:
{{ $rfq->rfq_no }}
RFQ Date:
{{ $rfq->rfq_date }}
Customer:
{{ $rfq->customerInfo->company ?? '-' }}
Customer Ref No:
{{ $rfq->cus_ref_no }}
RFQ Type:
{{ $rfq->rfq_type }}
Product Type:
{{ $rfq->product_type }}
Part No:
{{ $rfq->part_no }}
Project Material No:
{{ $rfq->project_material_no }}
Description:
{{ $rfq->description }}
Drawing No:
{{ $rfq->drawing_no }}
Drawing Revision:
{{ $rfq->drawing_rev }}
Quantity:
{{ $rfq->quantity }}
Unit of Measurement:
{{ $rfq->uom }}
Note:
{{ $rfq->note }}
Raw Material:
@php $rawMaterials = json_decode($rfq->raw_material, true); @endphp @if (is_array($rawMaterials) && count($rawMaterials))
    @foreach ($rawMaterials as $i => $matId)
  1. {{ $rawMaterialNames[$matId] ?? 'Unknown Material' }}
  2. @endforeach
@else - @endif

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