feat(cms): white-label email templates and API doc config #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/white-label-content"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
sendInvoiceandsendDeliveryNotetemplate calls inorder.tsNew env vars (all optional with safe defaults)
SHOP_NAME"Shop"SHOP_CONTACT_NAME""SHOP_ADDRESS""SHOP_PHONE""SHOP_EMAILADMIN_EMAIL_ADDRESSSHOP_LOGO_URL""SHOP_SECONDARY_LOGO_URL""API_TITLE"Paperwork API"API_DESCRIPTION"Paperwork API"Test plan
SHOP_NAME=TestShopand trigger invoice send → confirm subject and body useTestShopSHOP_NAMEunset → confirm default"Shop"appearsSHOP_LOGO_URL→ confirm logo renders in email header; unset → confirm no broken<img>tag/documentationwithAPI_TITLE=MyAPIenv varCloses #1