@extends('pdf.layouts.quotation-interior') @section('title','Quotation') @section('content')
| Quotation No: {{ $quotation->quotation_number }} | Date: {{ now()->format('d-m-Y') }} |
| Project Name: {{ $quotation->project_name }} | Project Type: {{ $quotation->project_type }} |
| Customer Name: {{ $quotation->customer_name }} | Phone: {{ $quotation->customer_phone }} |
| Address: {{ $quotation->address }} | |
| Sales Person: {{ $quotation->employee_name }} | Contact: {{ $quotation->employee_contact }} |
| Expected Completion: {{ $quotation->expected_completion_date }} | Status: {{ ucfirst($quotation->status) }} |
| Img | Item | Size | Qty | Rate | Total |
|---|---|---|---|---|---|
|
@if($item->variant && $item->variant->primaryImage)
|
{{ ucfirst($item->category) }} {{ $item->product->name ?? '' }} {{ $item->variant->sku ?? '' }} {{ $detailsData['model_name'] ?? '' }} |
@if(isset($measurement['width']) && isset($measurement['height'])) {{ $measurement['width'] }} x {{ $measurement['height'] }} {{ $measurement['unit'] ?? '' }} @else - @endif | {{ number_format($item->quantity ?? 0, 2) }} @if($item->projectItem?->curtain?->productModel?->unit_type == 'meter') m @elseif($item->projectItem?->curtain?->productModel?->unit_type == 'sqft') sqft @endif | {{ number_format($item->price ?? 0, 2) }} | {{ number_format($item->total ?? 0, 2) }} |