@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
| Quotation Number | Date | Customer | Customer RFQ Number | Total Price | File | Status | Action |
|---|---|---|---|---|---|---|---|
| {{ $quotation->quotation_number }} | {{ $quotation->date }} | {{ $quotation->customerRfq->customer->name }} | {{ $quotation->customerRfq->customer_rfq_number }} | @php $quotation_parts = \App\Models\OurQuotationPart::where('our_quotation_id', '=', $quotation->id)->selectRaw('sum(quantity*unit_price) as total')->first(); @endphp {{ number_format( $quotation_parts->total, 2) }} |
@can('Business - OurQuotations - Parts')
$quotation->id, 'print' => 'no']) }}' target='_blank'>
|
{{ $quotation->status == "Sent" ? "Sent" : "" }} |