emarj / moneytracker

Web app to track family expenses and net worth
1 stars 0 forks source link

Rework Sharing mechanism #5

Closed emarj closed 5 years ago

emarj commented 5 years ago

We need to relate main transaction with the expense repartition.

Children transaction: field "parent"

emarj commented 5 years ago

Insert two fields

type Transaction struct { TotAmount decimal ShrAmount decimal }

and remove Quota. Calculations done in the UI

emarj commented 5 years ago

Probably implementing a sharings table is the way to go. This should also offer multi-user support (#16 ). At this point wallets (#14) are tempting...