PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.4
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.4
2.4.3 2.4.4 2.4.2 2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 All 60 releases
easy-invoice / templates / pdf / quote.php

quote.php in Easy Invoice – Invoice Generator, PDF Quotes & Payments 2.4.4, at templates/pdf/quote.php

25 lines 684 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Quote layout for server-side PDF rendering.
4 *
5 * Shares document.php with the invoice. A quote is the same document with a
6 * different name on it, an expiry instead of a due date, and no expectation of
7 * payment — so it is the same template with four labels swapped, rather than a
8 * second copy that drifts.
9 *
10 * Its absence is why PdfRenderer::renderQuote() returned "The PDF template is
11 * missing" and every quote silently fell back to the browser renderer.
12 *
13 * Override with the `easy_invoice_pdf_template_path` filter.
14 *
15 * @package Easy_Invoice
16 */
17
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21
22 $ei_pdf_type = 'quote';
23
24 require __DIR__ . '/document.php';
25