Improve the frontend and fix TODOs
This commit is contained in:
@@ -368,7 +368,7 @@ def upgrade() -> None:
|
||||
sa.Column('tenant_id', sa.UUID(), nullable=False),
|
||||
sa.Column('ingredient_id', sa.UUID(), nullable=False),
|
||||
sa.Column('stock_id', sa.UUID(), nullable=True),
|
||||
sa.Column('movement_type', sa.Enum('PURCHASE', 'PRODUCTION_USE', 'ADJUSTMENT', 'WASTE', 'TRANSFER', 'RETURN', 'INITIAL_STOCK', name='stockmovementtype'), nullable=False),
|
||||
sa.Column('movement_type', sa.Enum('PURCHASE', 'PRODUCTION_USE', 'TRANSFORMATION', 'ADJUSTMENT', 'WASTE', 'TRANSFER', 'RETURN', 'INITIAL_STOCK', name='stockmovementtype'), nullable=False),
|
||||
sa.Column('quantity', sa.Float(), nullable=False),
|
||||
sa.Column('unit_cost', sa.Numeric(precision=10, scale=2), nullable=True),
|
||||
sa.Column('total_cost', sa.Numeric(precision=10, scale=2), nullable=True),
|
||||
|
||||
Reference in New Issue
Block a user