Imporve the i18 and frontend UI pages
This commit is contained in:
@@ -228,7 +228,7 @@ class ProcurementRequirementBase(BaseModel):
|
||||
product_name: str = Field(..., min_length=1, max_length=200)
|
||||
product_sku: Optional[str] = Field(None, max_length=100)
|
||||
product_category: Optional[str] = Field(None, max_length=100)
|
||||
product_type: str = Field(default="ingredient") # TODO: Create ProductType enum if needed
|
||||
product_type: str = Field(default="ingredient")
|
||||
required_quantity: Decimal = Field(..., gt=0)
|
||||
unit_of_measure: str = Field(..., min_length=1, max_length=50)
|
||||
safety_stock_quantity: Decimal = Field(default=Decimal("0.000"), ge=0)
|
||||
|
||||
Reference in New Issue
Block a user