Accrue.Emails.InvoicePaid (accrue v0.3.0)

Copy Markdown View Source

Invoice paid confirmation (MAIL-08).

Sent when Stripe emits invoice.paid. Embeds invoice_header/1, line_items/1, and totals/1 components via HtmlBridge so the email body mirrors the eventual PDF attachment one-to-one.

Summary

Functions

Returns the raw MJML template. Useful for debugging rendering issues.

Safely render the MJML template using Phoenix.HTML

Functions

debug_mjml_template()

Returns the raw MJML template. Useful for debugging rendering issues.

render(assigns)

Safely render the MJML template using Phoenix.HTML

render_text(assigns)

@spec render_text(map()) :: String.t()

subject(arg1)

@spec subject(map()) :: String.t()