@if($rfqs->total()) Records {{ ( $rfqs->currentPage() - 1 ) * $rfqs->perPage() + 1 }} to {{ ( $rfqs->currentPage() - 1 ) * $rfqs->perPage() + $rfqs->count() }} from {{ $rfqs->total() }} Records @else No Record @endif
| ID | Date | Customer | Customer RFQ Number | Our RFQ Number | File | Users | Vendor Quotations | Our Quotations | Status | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $rfq->id }} | {{ $rfq->date }} | {{ $rfq->customer->name }} | id) }}' target='_blank'> {{ $rfq->customer_rfq_number }} | {{ $rfq->our_rfq_number }} |
@php
if( is_file(public_path('storage/' . $rfq->file_path)) ){
echo "";
@endphp
|
@foreach( $rfq->customerRfqUsers as $customerRfqUser ) {{ $customerRfqUser->user->name }} @endforeach |
@foreach( $rfq->vendorQuotations as $vendorQuotation )
id) }}' target='_blank'>
{{ $vendorQuotation->vendor->name }}
@endforeach |
@foreach( $rfq->ourQuotations as $ourQuotation ) id) }}' target='_blank'> {{ $ourQuotation->quotation_number }} @endforeach | @if( $rfq->status == "No Action") {{ $rfq->status }} @else {{ $rfq->status }} @endif |