xykong36 / SplitCircle

Big Money Split App
0 stars 0 forks source link

Transaction Logic #42

Closed xykong36 closed 5 months ago

xykong36 commented 5 months ago

一个Expense可以对应多个Transaction Transaction 直接在点击Save Button之后计算并保存 计算的逻辑:

Amount是share的 payee 和 payer 是两个数组已经在前两步准备好了 两个变量求和即可