@extends('portal::layouts.supplier') @section('title', $rfq->ref_no) @section('content') @php $myResponse = $rfq->responses->first(); @endphp

{{ $rfq->ref_no }} — {{ $rfq->title }}

@lang('portal::lang.status'): {{ $rfq->status }}

@lang('supplychain::lang.due_date'): @format_date($rfq->due_date)

@if($rfq->notes)

{{ $rfq->notes }}

@endif

@lang('supplychain::lang.rfq_lines')

@foreach($rfq->lines as $line) @endforeach
@lang('product.product')@lang('sale.qty')@lang('supplychain::lang.specs')
{{ $line->specs ?? ('#'.$line->product_id) }} {{ $line->qty }} {{ $line->specs }}
@if($myResponse && $myResponse->status === 'submitted')
@lang('supplychain::lang.portal_quote_submitted'): {{ number_format($myResponse->quoted_price, 2) }} — {{ $myResponse->lead_days }} @lang('supplychain::lang.lead_days')
@elseif($rfq->status === 'open')
@csrf
@endif
@endsection