PhoenixKit.Modules.Billing.Web.InvoiceDetail.Helpers (phoenix_kit v1.7.71)
Copy Markdown View SourceHelper functions for the invoice detail LiveView.
Contains timeline building, history parsing, formatting, and other template-callable utilities.
Summary
Functions
Builds a sorted timeline of all invoice events.
Returns a list of %TimelineEvent{} structs sorted by datetime.
Formats payment method name for display.
Checks if invoice is fully refunded.
Gets credit note send history from transaction metadata.
Gets the default email address from invoice billing details or user.
Gets receipt send history from invoice receipt_data.
Gets send history from invoice metadata.
Parses ISO8601 datetime string to DateTime.
Functions
Builds a sorted timeline of all invoice events.
Returns a list of %TimelineEvent{} structs sorted by datetime.
Formats payment method name for display.
Checks if invoice is fully refunded.
Gets credit note send history from transaction metadata.
Gets the default email address from invoice billing details or user.
Gets receipt send history from invoice receipt_data.
Gets send history from invoice metadata.
Parses ISO8601 datetime string to DateTime.