s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Commerce · Components

InvoiceHeader

Legacy metadata or an explicit retained view.

Public export

typescript
import { InvoiceHeader } from '@happyvertical/smrt-commerce/svelte';
Import path
@happyvertical/smrt-commerce/svelte
Props
10
Props described
10 of 10
Bindable state
0
Callback events
1
Verified release
0.57.40

Props

NameTypeRequiredDescription
invoiceNumberstringNoInvoice number/reference
statusInvoiceStatusNoCurrent status
issueDateDate | stringNoIssue date
dueDateDate | string | nullNoDue date
paidDateDate | string | nullNoPaid date
customerNamestringNoCustomer/client name
projectNamestringNoProject name
editablebooleanNoAllow editing
onstatuschange(status: InvoiceStatus) => voidNoCalled when status changes
retainedRetainedInvoiceHeaderViewNoCaller-authoritative retained header.

Bindable state

This component has no bindable public state.

Callback events

  • onstatuschange(status: InvoiceStatus) => void

Examples and explanation