mikeymicrophone / commissulator

Commissulator is a set of tools that help Real Estate Agents working with Citi Pads in Manhattan streamline their paperwork.
Other
3 stars 4 forks source link

Tenants should be stored in clients table only, not duplicated in commission #30

Open mikeymicrophone opened 5 years ago

mikeymicrophone commented 5 years ago

The tenants who sign a lease are listed on the printout used for communication with accounting. For this reason, these names were stored on the commission object as arrays of serialized strings. Now that we have tables for clients, emails, and phones, this data should be stored there instead.

The commission is already connected to a lease object that is joined to clients via tenant objects. Therefore, all that is needed for this task to be complete is to refactor the code that refers to the original tenant store.