Commerce · Components
MoneyInvoiceEditor
The invoice editor's form; the v2 money model is the only invoice model.Public export
typescript
import { MoneyInvoiceEditor } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 10
- Props described
- 10 of 10
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
actionstringYesNative form action owned by the caller's invoice route.method'post' | 'get'NoNative HTTP method retained for progressive enhancement.moneyMoneyEditorPropsYesTyped v2 money draft, tax-code choices, and stored issued snapshot.canEditbooleanNoPresentation capability; the server remains the authority for writes.pendingbooleanNoCaller transport state that disables edits and the save submitter.hiddenFieldsreadonly InvoicePreparationHiddenField[]NoCaller-owned request identity and route fields submitted unchanged.intentFieldstringNoNative submitter field name expected by the caller, default intent.saveIntentstringNoSubmitter value that requests a draft save, default save.saveLabelstringNoCaller-visible label for the save submitter.onsubmitHTMLFormAttributes['onsubmit']NoOptional native form enhancement; omitted submissions stay native.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.