Customer Print Invoice Changelog
================================

V1.0 - 15 August 2026
----------------------

* Added an instant Print Invoice button to eligible orders on My Orders.
* Added the same button to eligible individual customer order-details pages.
* Opens the browser's native print dialog automatically, allowing printing on
  paper or saving through the browser's Save as PDF destination.
* Added an Admin checklist for invoice-printable order statuses.
* Defaults to no permitted statuses until an administrator saves the setting.
* Hides My Orders and order-details invoice buttons for disabled statuses.
* Omits the checkout confirmation email link for disabled initial statuses.
* Adds the invoice link when a notified status update first moves an order from
  a disabled status into an enabled status.
* Enforces the status whitelist independently at the invoice endpoint.
* Allows only customer-visible statuses to be selected.
* Adds no customer-side pro-forma document; Admin pro-forma workflows remain
  separate.
* Adds automatic storage of one Phoenix configuration value with no manual SQL.
* Added an invoice link to checkout confirmation emails through the Phoenix
  `orderMail` hook without replacing the notification template.
* Added login, customer/order ownership and public-status validation.
* Included historical products, attributes, prices, VAT, addresses and saved
  order totals, including shipping and discounts.
* Excluded private admin order history.
* Added private/no-store response headers and escaped database output.
* Added isolated print styling without changing storefront user.css.
* Uses no server-side PDF software or associated dependencies.
* No Phoenix core changes and no manual SQL installation.
