@extends('layouts/contentLayoutMaster') @section('title', 'Management Customer RFQs') @section('vendor-style') {{-- Page Css files --}} @endsection @section('page-style') {{-- Page Css files --}} @endsection @section('content')
@include('content.partial.form-message')

Customer RFQs List

input("search")) }}"/>
input("date")) }}"/>
@php $customers = \App\Models\Customer::orderBy('name', 'asc')->get(); if($customers->count()){ @endphp @php } @endphp
@php $inventories = \App\Models\Inventory::orderBy('part_number', 'asc')->get(); if($inventories->count()){ @endphp @php } @endphp
@php $users = \App\Models\User::orderBy('name', 'asc')->get(); if($users->count()){ @endphp @php } @endphp
@php $statuses = ['No Action', 'Under Process', 'No Quote', 'Done']; $options = request()->input("status") ? request()->input("status") : []; if(!empty($statuses)){ @endphp @php } @endphp
Reset
@can('Business - CustomerRfqs - Add') Add New Customer RFQ @endcan

@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

@foreach( $rfqs as $rfq ) @endforeach
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 file @php 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
{{ $rfqs->appends($_REQUEST)->fragment('top-list')->links('vendor.pagination.bootstrap-5') }}
@endsection @section('vendor-script') {{-- Vendor js files --}} @endsection @section('page-script') @endsection