PhoenixKit.Modules.Billing.Web.InvoiceDetail.Actions (phoenix_kit v1.7.71)

Copy Markdown View Source

Action handlers for the invoice detail LiveView.

Contains business logic for payment recording, refunds, sending documents, voiding, and receipt generation. Each function takes a socket and returns {:noreply, socket}.

Summary

Functions

generate_receipt(socket)

pay_with_provider(socket, provider_str)

record_payment(socket)

record_refund(socket)

send_credit_note(socket)

send_invoice(socket)

send_payment_confirmation(socket)

send_receipt(socket)

void_invoice(socket)