Add options
This commit is contained in:
@@ -411,7 +411,7 @@ const UnitTypeSelect: React.FC<{
|
||||
if (val === "placeholder") return;
|
||||
setProductData((prev) => ({
|
||||
...prev,
|
||||
unitType: val as 'pcs' | 'gr' | 'kg' | 'ml',
|
||||
unitType: val as 'pcs' | 'gr' | 'kg' | 'ml' | 'oz' | 'lb',
|
||||
}));
|
||||
}}
|
||||
>
|
||||
@@ -426,6 +426,8 @@ const UnitTypeSelect: React.FC<{
|
||||
<SelectItem value="gr">Grams (gr)</SelectItem>
|
||||
<SelectItem value="kg">Kilograms (kg)</SelectItem>
|
||||
<SelectItem value="ml">Milliliters (ml)</SelectItem>
|
||||
<SelectItem value="oz">Ounces (oz)</SelectItem>
|
||||
<SelectItem value="lb">Pounds (lb)</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<Button type="button" variant="outline" size="sm" disabled>
|
||||
|
||||
@@ -42,7 +42,7 @@ export interface Product {
|
||||
currentStock?: number
|
||||
lowStockThreshold?: number
|
||||
stockStatus?: 'in_stock' | 'low_stock' | 'out_of_stock'
|
||||
unitType: 'pcs' | 'gr' | 'kg' | 'ml'
|
||||
unitType: 'pcs' | 'gr' | 'kg' | 'ml' | 'oz' | 'lb'
|
||||
category: string
|
||||
enabled?: boolean
|
||||
pricing: PricingTier[]
|
||||
|
||||
Reference in New Issue
Block a user