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 }}
Raw Material:
@php
$rawMaterials = json_decode($rfq->raw_material, true);
@endphp
@if (is_array($rawMaterials) && count($rawMaterials))
@foreach ($rawMaterials as $i => $matId)
-
{{ $rawMaterialNames[$matId] ?? 'Unknown Material' }}
@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())
@endif
@endforeach