A headless HEEx component that conditionally renders its inner block (or a default message) only if the given customer is currently in an active dunning campaign.
Summary
Functions
Renders the dunning banner content if Accrue.Dunning.requires_attention?/1 is true.
Functions
Renders the dunning banner content if Accrue.Dunning.requires_attention?/1 is true.
Assigns
:customer- The customer or billable struct to check for dunning attention. Required.:inner_block- The content to render if attention is required. Optional. If omitted, a default message is rendered.
Attributes
customer(:any) (required) - The customer or billable struct.
Slots
inner_block