@extends('layouts.public-document') @section('title', ($quotationTitle ?? 'Quotation') . ' ' . $quotation->quote_number) @section('content') @php $documentCopyLabel = $documentCopyLabel ?? ($documentCopies['original'] ?? 'Original Copy'); $quotationTitle = $quotationTitle ?? \App\Helpers\QuotationDocumentSettings::titleForType($quotation->type, $company->id ?? null); @endphp
@if($logoSrc ?? null) @endif {{ $company->name }}
@if($company->phone || $company->email) Contact {{ $company->name }} @endif Client name: {{ $quotation->customer->name }}
Quote # {{ $quotation->quote_number }}
Valid Until {{ $quotation->valid_until?->format('d - M - Y') ?? '—' }}
Total ₹ {{ number_format($quotation->grand_total, 2) }}
@include('admin.quotations.partials._document', [ 'quotationTitle' => $quotationTitle, 'documentCopyLabel' => $documentCopyLabel, 'layout' => 'a4', 'forPublic' => true, 'logoSrc' => $logoSrc, 'signatureSrc' => $signatureSrc, ])
@endsection @push('styles') @endpush