# <center><i class="fa fa-edit"></i> Smart Dispenser: `members_additional_card` Subfunction Code </center>
###### tags: `Internship`
:::info
**Goal:**
- [x] Code the subfunction for collection `members_additional_Card`
- [x] Need to test run later, do not change the original member data
**Resources:**
[PyQt](https://hackmd.io/Ibk_VuuWRXOjkION4wk3tg)
[newXinXingPyQtStructure](https://drive.google.com/drive/u/0/folders/1Ahr8zkZgUv8ujauLKGz1ZSzkZq0M9_mx)
[CodiMD](https://hackmd.io/c/codimd-documentation/%2F%40codimd%2Fextra-supported-syntax#Flow-Chart)
[冠辰參考的筆記](https://www.wongwonggoods.com/page/4/?s=pyqt&ct_post_type=post%3Apage&ct_product_price=1)
:::
---
:::spoiler **Expand Catalog**
[TOC]
:::
---
### Figures
*Figure 1. Open a new collection members_additional_card*

*Figure 2. Flowchart*

---
### Current Code
**Current Imports**

:::warning
Ended up making two new subfunctions in addition to the planned ones ([can be referenced here](https://hackmd.io/@tiffanycheng/ry3LHLn55))
:::
**Ask for schoolID**

**Ask for cardID**

:::warning
Note: changed the name of `popupRRE` to `popupRR`. The highlighted `root.destroy` is a filler. This will be replaced by the new user registration link once I get ahold of the URL.
:::
**User Choice to Re-enter or Register**
