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

MEP 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))) }}

Client & Project Details

{{ $quotation->form_data['client']['name'] ?? $lead->client_name }}

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

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

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

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

{{ $quotation->form_data['client']['site_address'] ?? $lead->address }}

BOQ & Material Specifications
@foreach($quotation->form_data['items'] ?? [] as $item) @endforeach
Description Specification Qty Unit Price Total
{{ $item['name'] ?? '' }} {{ $item['spec'] ?? '' }} {{ $item['qty'] ?? 0 }} ₹{{ number_format($item['price'] ?? 0, 2) }} ₹{{ number_format($item['total'] ?? 0, 2) }}
Engineering Services

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

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

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

@php $gstPercent = $quotation->form_data['pricing']['gst_percent'] ?? 18; $discount = $quotation->form_data['pricing']['discount'] ?? 0; $services = ($quotation->form_data['services']['design'] ?? 0) + ($quotation->form_data['services']['management'] ?? 0) + ($quotation->form_data['services']['testing'] ?? 0); $itemsTotal = collect($quotation->form_data['items'] ?? [])->sum('total'); $taxableAmount = max(0, $itemsTotal + $services - $discount); $gstAmount = ($taxableAmount * $gstPercent) / 100; @endphp
BOQ Subtotal: ₹{{ number_format($itemsTotal, 2) }}
Services: ₹{{ number_format($services, 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']['delivery'] ?? 'N/A' }}

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

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