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

Our Quotation Parts

@if($our_quotation_part->inventory_id)
@csrf @method('patch') @else @csrf @method('put') @endif
@php $customer_rfqs = \App\Models\CustomerRfq::orderBy('customer_rfq_number', 'asc')->get(); if($customer_rfqs->count()){ @endphp @php } @endphp @error('customer_rfq_id')
{{ $message }}
@enderror
@error('validity')
{{ $message }}
@enderror
@error('payment_terms')
{{ $message }}
@enderror
@error('delivery_terms')
{{ $message }}
@enderror
@error('min_order')
{{ $message }}
@enderror
@php $parts = \App\Models\Inventory::orderBy('part_number', 'asc')->get(); if($parts->count()){ @endphp @php } @endphp @error('inventory_id')
{{ $message }}
@enderror
@error('quantity')
{{ $message }}
@enderror
@error('condition')
{{ $message }}
@enderror
@error('cert')
{{ $message }}
@enderror
@error('tag_date')
{{ $message }}
@enderror
@error('lead_time')
{{ $message }}
@enderror
@error('unit_price')
{{ $message }}
@enderror
date) }}" required disabled/> @error('date')
{{ $message }}
@enderror
@error('quotation_number')
{{ $message }}
@enderror
@error('note')
{{ $message }}
@enderror
@if($our_quotation_part->inventory_id) @else @endif Reset
@csrf @method('put')
@error('file')
{{ $message }}
@enderror
Sample File

@php $i = 0; $sub_total = 0; @endphp @foreach( $ourQuotationParts as $ourQuotationPart ) @php $sub_total += $ourQuotationPart->unit_price * $ourQuotationPart->quantity; @endphp @endforeach
Row Part Number Description Quantity Condition Cert Tag Date Lead Time Unit Price Total Price Note Action
{{ ++$i }} @can('Business - Inventories - List') @endcan {{ $ourQuotationPart->inventory->part_number }} @can('Business - Inventories - List') @endcan {{ $ourQuotationPart->inventory->description }} {{ $ourQuotationPart->quantity }} {{ $ourQuotationPart->condition }} {{ $ourQuotationPart->cert }} {{ $ourQuotationPart->tag_date }} {{ $ourQuotationPart->lead_time }} {{ number_format($ourQuotationPart->unit_price, 2) }} {{ number_format($ourQuotationPart->unit_price * $ourQuotationPart->quantity, 2) }} {{ $ourQuotationPart->note }}
Sub Total: {{ number_format($sub_total, 2) }}
@endsection @section('vendor-script') {{-- Vendor js files --}} @endsection @section('page-script') @endsection