Improve the frontend modals
This commit is contained in:
@@ -34,7 +34,12 @@ class TenantSettings(Base):
|
||||
"demand_forecast_days": 14,
|
||||
"safety_stock_percentage": 20.0,
|
||||
"po_approval_reminder_hours": 24,
|
||||
"po_critical_escalation_hours": 12
|
||||
"po_critical_escalation_hours": 12,
|
||||
"use_reorder_rules": True,
|
||||
"economic_rounding": True,
|
||||
"respect_storage_limits": True,
|
||||
"use_supplier_minimums": True,
|
||||
"optimize_price_tiers": True
|
||||
})
|
||||
|
||||
# Inventory Management Settings (Inventory Service)
|
||||
@@ -86,7 +91,11 @@ class TenantSettings(Base):
|
||||
"good_quality_rate": 95.0,
|
||||
"critical_delivery_delay_hours": 24,
|
||||
"critical_quality_rejection_rate": 10.0,
|
||||
"high_cost_variance_percentage": 15.0
|
||||
"high_cost_variance_percentage": 15.0,
|
||||
# Supplier Approval Workflow Settings
|
||||
"require_supplier_approval": True,
|
||||
"auto_approve_for_admin_owner": True,
|
||||
"approval_required_roles": ["member", "viewer"]
|
||||
})
|
||||
|
||||
# POS Integration Settings (POS Service)
|
||||
@@ -132,7 +141,12 @@ class TenantSettings(Base):
|
||||
"demand_forecast_days": 14,
|
||||
"safety_stock_percentage": 20.0,
|
||||
"po_approval_reminder_hours": 24,
|
||||
"po_critical_escalation_hours": 12
|
||||
"po_critical_escalation_hours": 12,
|
||||
"use_reorder_rules": True,
|
||||
"economic_rounding": True,
|
||||
"respect_storage_limits": True,
|
||||
"use_supplier_minimums": True,
|
||||
"optimize_price_tiers": True
|
||||
},
|
||||
"inventory_settings": {
|
||||
"low_stock_threshold": 10,
|
||||
@@ -178,7 +192,10 @@ class TenantSettings(Base):
|
||||
"good_quality_rate": 95.0,
|
||||
"critical_delivery_delay_hours": 24,
|
||||
"critical_quality_rejection_rate": 10.0,
|
||||
"high_cost_variance_percentage": 15.0
|
||||
"high_cost_variance_percentage": 15.0,
|
||||
"require_supplier_approval": True,
|
||||
"auto_approve_for_admin_owner": True,
|
||||
"approval_required_roles": ["member", "viewer"]
|
||||
},
|
||||
"pos_settings": {
|
||||
"sync_interval_minutes": 5,
|
||||
|
||||
Reference in New Issue
Block a user