iBilik Capital - Phase 4 v7 Investor + Capital Core
===================================================
正式環境基準：PHP 8.0.30 / MySQL 5.7.44 / Bootstrap 5 / zh + en

部署順序
1. 備份目前資料庫。
2. 匯入 database/ibilik_capital_database_v1.5_investor_capital_core.txt
3. 再覆蓋上傳 Phase 4 v7 程式。
4. 使用 edroot 登入。
5. 建立測試 Investor，先把 KYC 改成 APPROVED。
6. 建立 Commitment（承諾）。
7. Post Actual Funding（實際入金）。
8. 到 Capital Position 檢查本金、未入金承諾與到期日。

本版重要財務原則
- Investor Commitment 只代表承諾，不能當成可部署現金，也不會進 Capital Ledger。
- 只有 Post Actual Funding 才建立 investor_subscriptions、investor_cash_receipts、INVESTOR_PRINCIPAL obligation 與 capital_ledger INVESTOR_IN。
- Subscription maturity_date 是投資者本金最終償還日期，也是未來 Pool 6個月紅色警報的上游權威日期。
- 本版不自行假設 Excel 尚未確認的回報計算公式；return_method 固定存 CONTRACT，投資回報排程會在 Excel Formula Engine 接入後產生，避免錯算。
- Super Admin 永遠有完整權限；一般使用者依 permission_catalog 授權。

新增資料表
- investor_contacts
- investor_commitments
- investor_cash_receipts

主要升級欄位
- investors：聯絡、地址、備註、建立者
- investor_subscriptions：commitment、agreement_no、return_method、day_count_basis、備註、建立者

新增權限
- INVESTOR_COMMITMENT_MANAGE
- INVESTOR_SUBSCRIPTION_POST
- CAPITAL_POSITION_VIEW
