Commerce · Components
UnbilledItems
Selectable list of unbilled expenses/time. Shows unbilled items with checkbox selection for invoice creation.Public export
typescript
import { UnbilledItems } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
itemsUnbilledItem[]YesUnbilled itemscurrency'CAD' | 'USD'NoCurrency codeonselectionchange(selectedIds: string[]) => voidNoCalled when selection changesoncreate(selectedIds: string[]) => voidNoCalled when create invoice is clickedemptyMessagestringNoEmpty state messageBindable state
This component has no bindable public state.
Callback events
onselectionchange(selectedIds: string[]) => voidoncreate(selectedIds: string[]) => void