# Certificate HTML Template

Use `certificate.html` with `certificate.css` to generate the certificate as a normal HTML page, then print or export it to PDF from the browser/server.

Replace these placeholders before rendering:

- `{{CATEGORY}}`
- `{{REFERENCE_NO}}`
- `{{DOOR_CERTIFICATE_NO}}`
- `{{DATE}}`
- `{{CLIENT}}`
- `{{PROJECT_SITE}}`
- `{{AREA}}`
- `{{MANUFACTURING_DATE}}`
- `{{FIRE_RATING}}`
- `{{STANDARDS_COMPLIED}}`
- `{{VALIDITY_PERIOD}}`
- `{{CURRENT_STATUS}}`
- `{{QR_CODE}}`
- `{{SEAL_IMAGE}}`

For the QR field, replace `{{QR_CODE}}` with an `<img src="...">` tag or the generated QR image markup.

`samcon-seal-print.png` is the preferred print asset. If it is missing, the PHP
renderer falls back to `samcon-seal.png`.
