Backoffice Label Management
Backoffice table of activated label packs. Search, filter, activate, or deactivate.
Installation
npx shadcn@latest add @ecodeliver/backoffice-label-managementAPI Reference
BackofficeLabelManagementPage
onUpdateStatus runs after the activate or deactivate confirmation.
| Prop | Type | Default |
|---|---|---|
labels | LabelTableRow[] | bundled example data |
onUpdateStatus | (id: string, status: LabelStatus) => void | - |
LabelTableRow
| Prop | Type | Default |
|---|---|---|
id | string | - |
rangeFrom | string | - |
rangeTo | string | - |
status | LabelStatus | - |
updatedAt | string | - |
used | number | - |
pudo | Pudo | - |
Pudo
| Prop | Type | Default |
|---|---|---|
id | string | - |
name | string | - |
lineAddress1 | string | - |
postalCode | string | - |
LabelStatus
"active" | "consumed" | "disabled"