Skip to content

feat(invoices): make combined proforma receipt optional - #539

Open
hedon77 wants to merge 1 commit into
Panelica:mainfrom
hedon77:feat/proforma-payment-email
Open

hedon77 wants to merge 1 commit into
Panelica:mainfrom
hedon77:feat/proforma-payment-email

Conversation

@hedon77

@hedon77 hedon77 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a Settings -> Invoices -> Proformas switch for the combined proforma receipt
  • default is off, preserving the existing two-email flow for every installation
  • when enabled, a paid proforma sends one email with the proforma number, VAT invoice number and the VAT PDF attached
  • top-up proformas without a VAT invoice keep the ordinary paid email
  • repeated paid events do not send the combined email again

Behaviour

  • option off: proforma-paid email + VAT invoice email, as before
  • option on: one combined email; the normal proforma-paid and VAT-created emails are suppressed for that flow
  • if the VAT invoice cannot be issued, the ordinary proforma-paid email is still sent

Verification

  • ProformaPaymentEmailTest: 5 passed
  • settings scope + related tests: 39 passed / 188 assertions
  • deployed and checked on DEV

No migrations or other configuration changes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant