Back to Lead
@if($company->logo) Logo @endif

{{ $company->name }}

{{ $company->address }}

Email: {{ $company->email }} | Phone: {{ $company->phone_number }}

@if($company->gst_number)

GSTIN: {{ $company->gst_number }}

@endif

HVAC QUOTATION

#QT-{{ $lead->id }}-{{ $quotation->version }}

{{ date('d M Y', strtotime($quotation->form_data['date'] ?? now())) }}

{{ date('d M Y', strtotime($quotation->form_data['valid_until'] ?? now()->addDays(30))) }}

Project & System Specification

{{ $quotation->form_data['project']['system_type'] ?? 'N/A' }}

{{ $quotation->form_data['project']['floor_area'] ?? 'N/A' }}

{{ $quotation->form_data['project']['material'] ?? 'N/A' }}

{{ $quotation->form_data['project']['scope'] ?? 'N/A' }}

Equipment & Component List
@foreach($quotation->form_data['items'] ?? [] as $item) @endforeach
Description Brand/Capacity Qty Unit Price Total
{{ $item['name'] ?? '' }} {{ $item['brand_cap'] ?? '' }} {{ $item['qty'] ?? 0 }} ₹{{ number_format($item['price'] ?? 0, 2) }} ₹{{ number_format($item['total'] ?? 0, 2) }}
Installation & Labor

₹{{ number_format($quotation->form_data['labor']['installation'] ?? 0, 2) }}

₹{{ number_format($quotation->form_data['labor']['ducting'] ?? 0, 2) }}

₹{{ number_format($quotation->form_data['labor']['amc'] ?? 0, 2) }}

@php $gstPercent = $quotation->form_data['pricing']['gst_percent'] ?? 18; $discount = $quotation->form_data['pricing']['discount'] ?? 0; $labor = ($quotation->form_data['labor']['installation'] ?? 0) + ($quotation->form_data['labor']['ducting'] ?? 0) + ($quotation->form_data['labor']['amc'] ?? 0); $itemsTotal = collect($quotation->form_data['items'] ?? [])->sum('total'); $taxableAmount = max(0, $itemsTotal + $labor - $discount); $gstAmount = ($taxableAmount * $gstPercent) / 100; @endphp
Equipment Subtotal: ₹{{ number_format($itemsTotal, 2) }}
Labor & Install: ₹{{ number_format($labor, 2) }}
Discount: -₹{{ number_format($discount, 2) }}
GST ({{ $gstPercent }}%): ₹{{ number_format($gstAmount, 2) }}
Grand Total: ₹{{ number_format($quotation->amount, 2) }}
Terms & Conditions

{{ $quotation->form_data['terms']['warranty'] ?? 'N/A' }}

{{ $quotation->form_data['terms']['payment'] ?? 'N/A' }}

{{ $quotation->form_data['terms']['exclusions'] ?? 'N/A' }}