---
# System prepended metadata

title: Matured

---

# Matured

* Matured的定義
    * pay term 走完就 mature 

* 有哪一些產品會有matured？
    * 只有 Regular Product 有
    * Intelligence (Pro) / Smart II (Pro)
    
    
* State
    * Plan State: `maturing` SR completed->`matured`
    * Pay state: `mature`


* B2B

* B2C 
   - [x] login
   - plan list
       - [x] main panel
       - [x] sidebar panel
   - [x] redirection
     - maturing 可以Future Redirection, matured 不行
   - [x] fund switching
   - [x] online payment(UPOP)
   - valuation page
       - [x] sidebar link
       - download monthly btn
          - [x] read_function
          - [ ] UI 暫時被擋下來不開放 (due to cancel on)
```
進入 plan state maturing , matured 後

- 可以 client self service
- 可以 Asset Switching
- Future Redirection - maturing 可以, matured 不行
- 不可以 online payment （UPOP）
```

* Status Check Methods 
    - [x] `on_or_after_xxx` series, 自動有處理了
    - [ ] 

* Charge 
    * 處理完了。

尚未支援：
* Monthly Valuation 
    * AASM 
    * cancel_on bug: `app/concepts/interactor/adjust_plan_state.rb`

## scan folders
- [x] concepts
- [x] controllers
- [x] model
    - [x] ![](https://i.imgur.com/I0izmmb.png)
- [ ] ~~test~~
- [x] views
    - [x] ![](https://i.imgur.com/civPmQA.png)

- [x] forms
    - [x] ![](https://i.imgur.com/gYlAsxO.png)
- [ ] repo
    - [ ] ![](https://i.imgur.com/54qBKno.png)
    - TBD:
        - app/concepts/basic_plan/large_amount_contribution.rb (include? maturing/matured) @OP
        - app/repositories/b2b/bulk_import_repo.rb @john
        - app/repositories/cte/pms.rb @john

- [x] validators (沒有人用)
- [x] services
- [x] cljs (沒有人用)

- [x] lib
    - [x] ![](https://i.imgur.com/FpFRCLB.png)


## Todo

1. app/concepts/client/api/plan_list.rb
2. app/models/dealing/plan_charge.rb (no need to include lapsed)


## Reference

* [Plan Mature slides](https://docs.google.com/presentation/u/1/d/1naLYmtRAXBIy6PKDS_2aR9LUCNn5V60IvIDGw8Zp50s/edit)

* Supported Service Record:

##### Memo of Pairing on Feb 16 :
1. model/basic_plan
    2. `effective_contribution` 用在年報，所以`active_contribution_items` 要加。

2. Open MR by each folder (concept -> model -> TBD (views -> forms -> repo -> validators))
3. 以後下班前再來 pair
