GatherPack / gatherpack

Get Together with GatherPack
MIT License
1 stars 0 forks source link

Create Accounts #106

Open braddoeswebdev opened 3 weeks ago

braddoeswebdev commented 3 weeks ago

Users should be able to track financial bits associated with different things.

An Account is a scaffold-ish structure with a name, optionally belongs to a Team, and can polymorphically has-many-through to... a whole lot of stuff, probably, but just start with People and Events for now. Only admins & team managers should be able to create new accounts.

A Transaction can just be a model with a comment, a polymorphic belongs_to relationship to what created it (Person, Hook, ...???) & a monetary value that belongs to an Account. Only team managers & admins should be able to create Transactions. Transactions should also not be able to be edited or destroyed, except in the case of their parent Account being destroyed.