conservancy / reimbursinator

Git Up GitHub: https://GiveUpGitHub.org
https://GiveUpGitHub.org
GNU Affero General Public License v3.0
7 stars 6 forks source link

Rules should be able to access fields from other sections #137

Open danieldupriest opened 5 years ago

danieldupriest commented 5 years ago

The "report" parameter that is passed in to rule functions was intended to provide access to other sections' fields via some method like report.section[0].fields['field_name'], however this turned out to not be necessary for the project. It would be a nice feature to have though, and could be implemented by populating the "report" parameter with sections and their fields.