---
# System prepended metadata

title: '<center><i class="fa fa-edit"></i> Smart Dispenser: Feedback and Meeting Preparation </center>'
tags: [Internship]

---

# <center><i class="fa fa-edit"></i> Smart Dispenser: Feedback and Meeting Preparation </center>
###### tags: `Internship`
:::info
**Goal:**
- [x] Final changes to code
- [x] Demonstrate 新增介面

**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*
![](https://i.imgur.com/HIZq4rs.jpg)

*Figure 2. Flowchart*
![](https://i.imgur.com/KeSi6dk.jpg)

---
### Changes to Code
**Register Function**
- Could not figure out `alldata`
- Realized this was for updating the collection with several documents at a time
- Needed to use `WriteinDB` instead
- Also need to check if document was already in `members_data`

![](https://i.imgur.com/6pfQccE.png)

![](https://i.imgur.com/fthabaB.png)

### Trial
**Register as new user**

![](https://i.imgur.com/qhFPVv1.png)

![](https://i.imgur.com/gab7oq3.png)

![](https://i.imgur.com/qMwhKmw.png)

![](https://i.imgur.com/kY1dMvd.png)

![](https://i.imgur.com/aTo3GXJ.png)

![](https://i.imgur.com/UwDNcIV.png)

**Register as new user but is old user**
![](https://i.imgur.com/R1nz1Nf.png)

![]
(https://i.imgur.com/gab7oq3.png)

![](https://i.imgur.com/qMwhKmw.png)

![](https://i.imgur.com/kY1dMvd.png)

![](https://i.imgur.com/CbU87Dl.png)

![](https://i.imgur.com/RIWXPsN.png)

**Register as new user but does not enter in all fields**
![](https://i.imgur.com/gab7oq3.png)

![](https://i.imgur.com/qMwhKmw.png)

![](https://i.imgur.com/kY1dMvd.png)

![](https://i.imgur.com/pVnUKCw.png)

![](https://i.imgur.com/cKBsQqr.png)
