# Garments Pack

File: `AdminApp/data/crm/feature-packs/garments_pack.json`
Profile: `taskco-crm-garments`
Domain: Lead → Buyer · Deal → Order · Contact → Buyer Contact

---

```json
{
  "slug": "garments_pack",
  "name": "Garments & Apparel CRM",
  "version": "1.0.0",
  "entity_domain_maps": [
    {"entity_type": "lead",    "label": "Buyer",         "label_plural": "Buyers"},
    {"entity_type": "deal",    "label": "Order",         "label_plural": "Orders"},
    {"entity_type": "contact", "label": "Buyer Contact", "label_plural": "Buyer Contacts"}
  ],
  "custom_fields": {
    "lead": [
      {"slug": "preferred_country",     "label": "Source Country",
       "type": "select", "is_searchable": true,
       "options": ["USA", "UK", "Germany", "France", "Japan", "Australia", "Other"]},
      {"slug": "product_category",      "label": "Product Category",
       "type": "select",
       "options": ["Woven", "Knit", "Denim", "Outerwear", "Activewear", "Accessories"]},
      {"slug": "annual_order_volume",   "label": "Annual Order Volume (pcs)", "type": "number"},
      {"slug": "preferred_payment",     "label": "Preferred Payment",
       "type": "select",
       "options": ["LC", "TT", "CAD", "DA", "Open Account"]},
      {"slug": "lead_time_expectation", "label": "Lead Time Expectation",
       "type": "select",
       "options": ["<30 days", "30-60 days", "60-90 days", "90+ days"]}
    ],
    "deal": [
      {"slug": "country",         "label": "Destination Country",
       "type": "text", "is_searchable": true},
      {"slug": "style_count",     "label": "Style Count",           "type": "number"},
      {"slug": "total_quantity",  "label": "Total Quantity (pcs)",  "type": "number"},
      {"slug": "fob_price",       "label": "FOB Price (USD)",       "type": "number"},
      {"slug": "shipment_date",   "label": "Shipment Date",         "type": "date"},
      {"slug": "incoterm",        "label": "Incoterm",
       "type": "select",
       "options": ["FOB", "CIF", "EXW", "DDP", "CFR"]}
    ],
    "contact": []
  },
  "pipelines": [
    {
      "slug": "garments_buyer_pipeline",
      "name": "Buyer Pipeline",
      "pipeline_type": "lead",
      "is_default": true,
      "stages": [
        {"slug": "new_buyer",        "name": "New Buyer",       "sort_order": 1, "color": "#6366f1"},
        {"slug": "sample_requested", "name": "Sample Requested","sort_order": 2, "color": "#3b82f6"},
        {"slug": "sample_approved",  "name": "Sample Approved", "sort_order": 3, "color": "#f59e0b"},
        {"slug": "price_negotiation","name": "Price Negotiation","sort_order": 4, "color": "#8b5cf6"},
        {"slug": "order_placed",     "name": "Order Placed",    "sort_order": 5, "color": "#10b981", "is_won": true}
      ]
    },
    {
      "slug": "garments_order_pipeline",
      "name": "Order Pipeline",
      "pipeline_type": "deal",
      "is_default": true,
      "stages": [
        {"slug": "order_confirmed", "name": "Order Confirmed", "sort_order": 1, "color": "#6366f1"},
        {"slug": "production",      "name": "In Production",   "sort_order": 2, "color": "#3b82f6"},
        {"slug": "qc",              "name": "QC / Inspection", "sort_order": 3, "color": "#f59e0b"},
        {"slug": "shipped",         "name": "Shipped",         "sort_order": 4, "color": "#8b5cf6"},
        {"slug": "delivered",       "name": "Delivered",       "sort_order": 5, "color": "#10b981", "is_won": true}
      ]
    }
  ],
  "workflow_rules": []
}
```

## Notes

- `preferred_country` = buyer's source country (where they are from), stored in real `leads.preferred_country` column
- `country` on deals = destination/shipment country
- Garments buyer pipeline has 5 stages incl. sample approval loop
- No auto-assign rule — sales managers typically own buyer accounts directly
