elplatt / seltzer

CRM for hackerspaces
GNU General Public License v3.0
104 stars 51 forks source link

Member & Plan DB improvements #492

Closed chris18890 closed 2 years ago

chris18890 commented 2 years ago

This changes the member_plan_save & member_save mthods to use arrays when writing to the DB instead of declaring things explicitly - for member_plan_save this means the fields are hard-coded once instead of 6 times, which will make it easier in future if additional fields need to be added.

Also I've removed some old/commented out code & fixed the rendering of member names when deleting a membership

chris18890 commented 2 years ago

Can I get a review @elplatt / @ramgarden?