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

Inventory History

@error('part_number')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('fleet')
{{ $message }}
@enderror

@foreach( $customer_rfqs as $customer_rfq ) @endforeach @foreach( $vendor_quotations as $vendor_quotation ) @endforeach @foreach( $our_quotations as $our_quotation ) @endforeach
Type Reference Name Date Condition Quantity Tag Date Lead Time Unit Price File Action
Customer RFQ {{ $customer_rfq->customerRfq->customer_rfq_number }} @can('Business - CustomerRfqs - Parts') @endcan {{ $customer_rfq->customerRfq->customer->name }} @can('Business - CustomerRfqs - Parts') @endcan {{ $customer_rfq->customerRfq->date }} {{ $customer_rfq->condition }} {{ $customer_rfq->quantity }} {{ $customer_rfq->unit_price }} @php if( is_file(public_path('storage/' . $customer_rfq->customerRfq->file_path)) ){ echo ""; @endphp file @php echo ""; } @endphp
Vendor Quotation {{ $vendor_quotation->vendorQuotation->quotation_number }} @can('Business - VendorQuotations - Parts') @endcan {{ $vendor_quotation->vendorQuotation->vendor->name }} @can('Business - VendorQuotations - Parts') @endcan {{ $vendor_quotation->vendorQuotation->date }} {{ $vendor_quotation->condition }} {{ $vendor_quotation->quantity }} {{ $vendor_quotation->tag_date }} {{ $vendor_quotation->lead_time ?? '' }} {{ $vendor_quotation->unit_price }} @php if( is_file(public_path('storage/' . $vendor_quotation->vendorQuotation->file_path)) ){ echo ""; @endphp file @php echo ""; } @endphp
Our Quotation {{ $our_quotation->ourQuotation->quotation_number }} @can('Business - OurQuotations - Parts') @endcan {{ $our_quotation->ourQuotation->customerRfq->customer->name }} @can('Business - OurQuotations - Parts') @endcan {{ $our_quotation->ourQuotation->date }} {{ $our_quotation->condition }} {{ $our_quotation->quantity }} {{ $our_quotation->tag_date }} {{ $our_quotation->lead_time ?? '' }} {{ $our_quotation->unit_price }} $our_quotation->ourQuotation->id, 'print' => 'no']) }}' target='_blank'> file

Orders:

@foreach( $customer_pos as $customer_po ) @endforeach @foreach( $vendor_pos as $vendor_po ) @endforeach
Type Reference Name Date Condition Quantity Tag Date Lead Time Unit Price File Status Action
Customer PO {{ $customer_po->customerPO->customer_po_number }} @can('Order - CustomerPOs - Parts') @endcan {{ $customer_po->customerPO->customer->name }} @can('Order - CustomerPOs - Parts') @endcan {{ $customer_po->customerPO->date }} {{ $customer_po->condition }} {{ $customer_po->quantity }} {{ $customer_po->tag_date }} {{ $customer_po->lead_time ?? '' }} {{ $customer_po->unit_price }} @php if( is_file(public_path('storage/' . $customer_po->customerPO->file_path)) ){ echo ""; @endphp file @php echo ""; } @endphp {{ $customer_po->customerPO->status }}
Vendor PO {{ $vendor_po->vendorPO->our_po_number }} @can('Order - VendorPOs - Parts') @endcan {{ $vendor_po->vendorPO->vendor->name }} @can('Order - VendorPOs - Parts') @endcan {{ $vendor_po->vendorPO->date }} {{ $vendor_po->condition }} {{ $vendor_po->quantity }} {{ $vendor_po->tag_date }} {{ $vendor_po->lead_time ?? '' }} {{ $vendor_po->unit_price }} @php if( is_file(public_path('storage/' . $vendor_po->vendorPO->pi_file_path)) ){ echo ""; @endphp PI File @php echo ""; } @endphp    @php if( is_file(public_path('storage/' . $vendor_po->vendorPO->payment_file_path)) ){ echo ""; @endphp Payment File @php echo ""; } @endphp {{ $vendor_po->vendorPO->status }}

Financial:

@foreach( $invoices as $invoice ) @endforeach
Type Reference Name Date Condition Quantity Unit Price File Action
Invoice {{ $invoice->invoice->invoice_number }} @can('Order - Invoices - Parts') @endcan {{ $invoice->invoice->customerPO->customer->name }} @can('Order - Invoices - Parts') @endcan {{ $invoice->invoice->date }} {{ $invoice->condition }} {{ $invoice->quantity }} {{ $invoice->unit_price }} @php if( is_file(public_path('storage/' . $invoice->invoice->file_path)) ){ echo ""; @endphp file @php echo ""; } @endphp
@endsection @section('vendor-script') {{-- Vendor js files --}} @endsection @section('page-script') @endsection