
API Keys Table
Tables
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/invoices-tableBilling history for a settings page: invoices by year and status, an action-needed strip that sums what's unpaid with Pay now, and rows that open into their line items with subtotal, tax and total. Card brand and last four, struck-through refunds and voids, and per-invoice or download-all buttons whose spinner turns into a tick.
Other props pass through to the root element.
defaultInvoices*
Invoice[]
currency
string
Default "USD"
onPay
(invoice: Invoice) => Promise<void> | void
Called by "Pay now". Resolve to mark the invoice paid.
onDownload
(invoices: Invoice[]) => Promise<void> | void
Called by the download buttons.
| Description | |||
|---|---|---|---|
| defaultInvoices* | Invoice[] | – | |
| currency | string | "USD" | |
| onPay | (invoice: Invoice) => Promise<void> | void | – | Called by "Pay now". Resolve to mark the invoice paid. |
| onDownload | (invoices: Invoice[]) => Promise<void> | void | – | Called by the download buttons. |