Improve the frontend 3
This commit is contained in:
@@ -40,7 +40,7 @@ echo -e "${BLUE}========================================${NC}"
|
||||
echo -e "${BLUE}Demo Data Seeding - Bakery IA${NC}"
|
||||
echo -e "${BLUE}========================================${NC}"
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ This script will seed demo data for:${NC}"
|
||||
echo -e "${YELLOW}⚠️ This script will seed demo data for:${NC}"
|
||||
echo -e " - Panadería San Pablo (Individual Bakery)"
|
||||
echo -e " - Panadería La Espiga (Central Workshop)"
|
||||
echo ""
|
||||
@@ -50,11 +50,13 @@ echo -e " 2. Tenant: Tenant members (link staff to tenants)"
|
||||
echo -e " 3. Inventory: Stock batches with expiration dates"
|
||||
echo -e " 4. Orders: Customers"
|
||||
echo -e " 5. Orders: Customer orders"
|
||||
echo -e " 6. Orders: Procurement plans"
|
||||
echo -e " 7. Production: Equipment"
|
||||
echo -e " 8. Production: Production schedules"
|
||||
echo -e " 9. Production: Quality check templates"
|
||||
echo -e " 10. Forecasting: Demand forecasts"
|
||||
echo -e " 6. Suppliers: Supplier data"
|
||||
echo -e " 7. Procurement: Procurement plans"
|
||||
echo -e " 8. Procurement: Purchase orders"
|
||||
echo -e " 9. Production: Equipment"
|
||||
echo -e " 10. Production: Production schedules"
|
||||
echo -e " 11. Production: Quality check templates"
|
||||
echo -e " 12. Forecasting: Demand forecasts"
|
||||
echo ""
|
||||
|
||||
# Prompt for confirmation
|
||||
@@ -75,9 +77,9 @@ run_seed() {
|
||||
local script=$2
|
||||
local description=$3
|
||||
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${GREEN}▶ ${description}${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
|
||||
local script_path="$PROJECT_ROOT/services/$service/scripts/demo/$script"
|
||||
|
||||
@@ -125,9 +127,11 @@ run_seed "orders" "seed_demo_customers.py" "Seeding customer data"
|
||||
run_seed "orders" "seed_demo_orders.py" "Seeding customer orders"
|
||||
|
||||
# ============================================================================
|
||||
# Phase 5: Procurement
|
||||
# Phase 5: Procurement (New Architecture)
|
||||
# ============================================================================
|
||||
run_seed "orders" "seed_demo_procurement.py" "Seeding procurement plans"
|
||||
run_seed "procurement" "seed_demo_suppliers.py" "Seeding supplier data"
|
||||
run_seed "procurement" "seed_demo_procurement_plans.py" "Seeding procurement plans"
|
||||
run_seed "procurement" "seed_demo_purchase_orders.py" "Seeding purchase orders"
|
||||
|
||||
# ============================================================================
|
||||
# Phase 6: Production Equipment & Schedules
|
||||
|
||||
Reference in New Issue
Block a user