uselotus / lotus

Open Source Pricing & Packaging Infrastructure
https://www.uselotus.io
MIT License
1.73k stars 126 forks source link

changes to organization settings #753

Closed diego-escobedo closed 1 year ago

diego-escobedo commented 1 year ago

Resolves LOT-656

linear[bot] commented 1 year ago
LOT-656 Reorganize Organization Settings to have the logic be in the model instead of spread out

Currently creating, etc. is controlled by flags on the organization model. Instead we should have static methods on the OrganizatioNSetting model and perform all the logic in there