@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content')
{{ $data['p_heading'] }}

{{ $data['p_description'] }}

@if(sizeof($data['quotes']) > 0)
@foreach($data['quotes'] as $quote) @endforeach
ID / Ref No Customer Name Email Address Items / Qty Sub Total Discount Grand Total Quote Date Actions
{{ $quote->id }} / {{ $quote->ref_no }} {{ $quote->user->first_name ?? '' }} {{ $quote->user->last_name ?? '' }} {{ $quote->user->email ?? '' }} {{ $quote->items->count() }} / {{ $quote->items->sum('qty') }} ${{ number_format($quote->subtotal, 2) }} ${{ number_format($quote->discount, 2) }} ${{ number_format($quote->grand_total, 2) }} {{ $quote->created_at->format('Y-m-d') }}
@method('DELETE') @csrf
@else Sorry!, no quotes found. @endif
@stop