@if($quotations->total()) Records {{ ( $quotations->currentPage() - 1 ) * $quotations->perPage() + 1 }} to {{ ( $quotations->currentPage() - 1 ) * $quotations->perPage() + $quotations->count() }} from {{ $quotations->total() }} Records @else No Record @endif
| Date | Customer RFQ Number | Vendor | Quotation Number | Contact Person | Total Price | File | Action |
|---|---|---|---|---|---|---|---|
| {{ $quotation->date }} | @can('Business - CustomerRfqs - Parts') @endcan {{ $quotation->customerRfq->customer_rfq_number }} @can('Business - CustomerRfqs - Parts') @endcan | {{ $quotation->vendor->name }} | {{ $quotation->quotation_number }} | {{ $quotation->contact_person }} | @php $quotation_parts = \App\Models\VendorQuotationPart::where('vendor_quotation_id', '=', $quotation->id)->selectRaw('sum(quantity*unit_price) as total')->first(); @endphp {{ number_format( $quotation_parts->total, 2) }} |
@php
if( is_file(public_path('storage/' . $quotation->file_path)) ){
echo "";
@endphp
|