@extends('layouts.app') @section('title', 'Quote Details') @section('content')

Quote: {{ $quote->quote_number }}

Edit @if($quote->status == 'accepted') Convert to Invoice Convert to Sales Order @endif
Logo
ESTIMATE

{{ $quote->quote_number }}

Company Address

City, State, Country
Phone: +91 0000000000

Estimate For

{{ $quote->customer->display_name ?: $quote->customer->name }}

{{ $quote->customer->billing_address }}
{{ $quote->customer->billing_city }}, {{ $quote->customer->billing_state }}
{{ $quote->customer->billing_zip }}

Date: {{ $quote->quote_date }}
Expiry Date: {{ $quote->expiry_date }}
@if($quote->subject)
Subject

{{ $quote->subject }}

@endif
@foreach($quote->items as $index => $item) @endforeach
# Items & Description Qty Rate Amount
{{ $index + 1 }} {{ $item->item_name }} {{ number_format($item->quantity, 2) }} {{ formatCurrency($item->rate) }} {{ formatCurrency($item->amount) }}
@if($quote->notes)
Notes

{{ $quote->notes }}

@endif @if($quote->terms)
Terms & Conditions

{{ $quote->terms }}

@endif
Sub Total {{ formatCurrency($quote->subtotal) }}
@if($quote->discount > 0)
Discount ({{ $quote->discount_type == 'percentage' ? $quote->discount.'%' : getCurrencySymbol() }}) -{{ formatCurrency($quote->discount_type == 'percentage' ? ($quote->subtotal * $quote->discount / 100) : $quote->discount) }}
@endif @if($quote->tax_id)
{{ $quote->tax->name }} ({{ $quote->tax->rate }}%) {{ formatCurrency($quote->tax_amount) }}
@endif @if($quote->adjustment != 0)
Adjustment {{ formatCurrency($quote->adjustment) }}
@endif
Total
{{ formatCurrency($quote->total_amount) }}
Information
{{ ucfirst($quote->status) }}
{{ $quote->reference_number ?: 'N/A' }}
Timeline
Quote Created

{{ $quote->created_at->format('M d, Y h:i A') }}

Last Updated

{{ $quote->updated_at->format('M d, Y h:i A') }}

@endsection