# easy-invoice/2.4.3/templates/pdf/quote.php

Easy Invoice – Invoice Generator, PDF Quotes &amp; Payments, version 2.4.3. 25 lines.

- Page: https://pluginprobe.com/plugins/easy-invoice/2.4.3/code/templates/pdf/quote.php
- Raw: https://pluginprobe.com/plugins/easy-invoice/2.4.3/raw/templates/pdf/quote.php
- Modified: 2026-09-15T12:31:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-invoice/2.4.3/code/templates/pdf/quote.php#L10-L20`.

```php
<?php
/**
 * Quote layout for server-side PDF rendering.
 *
 * Shares document.php with the invoice. A quote is the same document with a
 * different name on it, an expiry instead of a due date, and no expectation of
 * payment — so it is the same template with four labels swapped, rather than a
 * second copy that drifts.
 *
 * Its absence is why PdfRenderer::renderQuote() returned "The PDF template is
 * missing" and every quote silently fell back to the browser renderer.
 *
 * Override with the `easy_invoice_pdf_template_path` filter.
 *
 * @package Easy_Invoice
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

$ei_pdf_type = 'quote';

require __DIR__ . '/document.php';

```
