Commerce · Components
InvoiceHeader
Props for InvoiceHeader componentPublic export
typescript
import { InvoiceHeader } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 9
- Props described
- 9 of 9
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
invoiceNumberstringYesInvoice number/referencestatusInvoiceStatusYesCurrent statusissueDateDate | stringYesIssue datedueDateDate | string | nullNoDue datepaidDateDate | string | nullNoPaid datecustomerNamestringNoCustomer/client nameprojectNamestringNoProject nameeditablebooleanNoAllow editingonstatuschange(status: InvoiceStatus) => voidNoCalled when status changesBindable state
This component has no bindable public state.
Callback events
onstatuschange(status: InvoiceStatus) => void