@if(!$rfq)
Customer RFQ not found.
@else @php $customerName = $rfq->customer_type == 'prospect' ? $rfq->prospect_company_name : $rfq->customer_name; $customerAddress = $rfq->customer_type == 'prospect' ? $rfq->prospect_company_address : $rfq->customer_address; @endphp

Customer RFQ

RFQ No {{ $rfq->rfq_no }} RFQ Date {{ CommonHelper::changeDateFormat($rfq->rfq_date) }}
Response Due Date {{ $rfq->response_due_date ? CommonHelper::changeDateFormat($rfq->response_due_date) : '' }} Enquiry No. {{ $rfq->enquiry_no }}
Customer / Prospect {{ $customerName }} Attention {{ $rfq->attention }}
Contact {{ $rfq->contact_no }} Email {{ $rfq->email }}
Address {{ $customerAddress }}
Delivery Location {{ $rfq->delivery_location }} Payment Terms {{ $rfq->payment_terms }}
Remarks / Scope {{ $rfq->remarks }}
@foreach($rfqData as $key => $row) @php $item = CommonHelper::get_item_by_id($row->item_id); @endphp @endforeach
S.No Item Description Pack Size UOM Color Qty Target Rate Required Date
{{ $key + 1 }} {{ $item->item_code ?? '' }} -- {{ $item->sub_ic ?? '' }} {{ $row->item_description }} {{ $row->pack_size }} {{ $item->uom_name ?? $row->uom }} {{ $row->color }} {{ number_format($row->qty, 2) }} {{ number_format($row->target_rate, 2) }} {{ $row->required_date ? CommonHelper::changeDateFormat($row->required_date) : '' }}
@endif