PdfTemplateLayout.php
Table of Contents
Classes
- PdfTemplateLayout
- Code list of PDF invoice layouts (`cms_system_pdf_template_layouts`); separates the look (css) from the semantics of variants. The look of invoices is chosen by one select in the billing settings (`invoice.pdf.layoutId`); the per-variant content for a layout lives in {@see PdfTemplateVariantLayoutText}. Exactly one row may have `isDefault=true` (enforced in the admin CRUD, not by a db constraint).